Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/dmem.c dmem_cgroup_get_common_ancestor() -> get_cg_pool_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/cgroup/dmem.c dmem_cgroup_try_charge() -> get_cg_pool_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 1-u64max |
| DATA_SOURCE | 0 | cg | r get_current_dmemcs |
| DATA_SOURCE | 1 | region | $0 |
kernel/cgroup/dmem.c dmemcg_limit_write() -> get_cg_pool_unlocked()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cg | 4096-ptr_max |
| PARAM_VALUE | 1 | region | 4096-ptr_max |
| PARAM_VALUE | 1 | region->ref.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | cg | r css_to_dmemcs |
| DATA_SOURCE | 1 | region | r dmemcg_get_region_by_name |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |