Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/cgroup/rdma.c rdmacg_event_locked() -> get_cg_rpool_locked()

Type Parameter Key Value
PARAM_VALUE 0 cg 4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
CAPPED_DATA 1 device 1
DATA_SOURCE 1 device $2
LOCK2 global &rdmacg_mutex
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem

kernel/cgroup/rdma.c rdmacg_event_locked() -> get_cg_rpool_locked()

Type Parameter Key Value
PARAM_VALUE 0 cg 4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
CAPPED_DATA 1 device 1
DATA_SOURCE 1 device $2
LOCK2 global &rdmacg_mutex
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 cg 4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
DATA_SOURCE 0 cg r css_rdmacg
DATA_SOURCE 1 device r rdmacg_get_device_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 rdmacg_try_charge() -> get_cg_rpool_locked()

Type Parameter Key Value
PARAM_VALUE 0 cg 4096-ptr_max
PARAM_VALUE 1 device 4096-ptr_max
DATA_SOURCE 1 device $1
LOCK2 global &rdmacg_mutex
HALF_LOCKED2 &file->hw_destroy_rwsem
HALF_LOCKED2 &file->ucontext_lock
HALF_LOCKED2 &ufile->hw_destroy_rwsem
TYPE_LOCK (struct ib_uverbs_file)->hw_destroy_rwsem