Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/rdma.c rdmacg_resource_set_max() -> rpool_has_persistent_state()

Type Parameter Key Value
PARAM_VALUE 0 rpool 4096-ptr_max
BUF_SIZE 0 rpool (-1),144
BUF_SIZE 0 rpool (-1),144
CAPPED_DATA 0 rpool->device 1
DATA_SOURCE 0 rpool r get_cg_rpool_locked
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 global &rdmacg_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/cgroup/rdma.c uncharge_cg_locked() -> rpool_has_persistent_state()

Type Parameter Key Value
PARAM_VALUE 0 rpool 4096-ptr_max
PARAM_VALUE 0 rpool->resources 4096-ptr_max
CAPPED_DATA 0 rpool->device 1
DATA_SOURCE 0 rpool r find_cg_rpool_locked
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &rdmacg_mutex
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem