Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/rdma.c get_cg_rpool_locked() -> find_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 | 0 | cg | $0 |
| DATA_SOURCE | 1 | device | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rdmacg_mutex | ||
| HALF_LOCKED2 | &of->mutex |
kernel/cgroup/rdma.c rdmacg_event_locked() -> find_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 | 0 | cg | $0 |
| 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() -> find_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 | 0 | cg | $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_events_local_show() -> find_cg_rpool_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| DATA_SOURCE | 0 | cg | r css_rdmacg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| LOCK2 | global &rdmacg_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/rdma.c rdmacg_events_show() -> find_cg_rpool_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| DATA_SOURCE | 0 | cg | r css_rdmacg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| LOCK2 | global &rdmacg_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/rdma.c rdmacg_resource_read() -> find_cg_rpool_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| PARAM_VALUE | 1 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | device->name | 4096-ptr_max |
| CAPPED_DATA | 1 | device | 1 |
| DATA_SOURCE | 0 | cg | r css_rdmacg |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sf->lock | ||
| LOCK2 | global &rdmacg_mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/cgroup/rdma.c rdmacg_try_charge() -> find_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 | $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 |
kernel/cgroup/rdma.c uncharge_cg_locked() -> find_cg_rpool_locked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | device | 4096-ptr_max |
| CAPPED_DATA | 1 | device | 1 |
| DATA_SOURCE | 0 | cg | $0 |
| DATA_SOURCE | 1 | device | $1 |
| 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 |