Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/cgroup/dmem.c dmem_cgroup_pool_state_put() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cs | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cs->css.flags | 1-u32max |
| PARAM_VALUE | 0 | pool->cs->css.refcnt.data | 0,4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),20480 |
| BUF_SIZE | 0 | pool | (-1),20480 |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/cgroup/dmem.c dmem_cgroup_try_charge() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),20480 |
| BUF_SIZE | 0 | pool | (-1),20480 |
| DATA_SOURCE | 0 | pool | r get_cg_pool_unlocked |
| NOCHECK_CALL |
kernel/cgroup/dmem.c dmem_cgroup_uncharge() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cs | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cs->css.flags | 1-u32max |
| PARAM_VALUE | 0 | pool->cs->css.refcnt.data | 0,4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | adev->rmmio_remap.bo->tbo.base.resv |
kernel/cgroup/dmem.c dmem_cgroup_unregister_region() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| CAPPED_DATA | 0 | &pool->region_node | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dmemcg_lock | ||
| HALF_LOCKED2 | global &component_mutex |
kernel/cgroup/dmem.c dmemcg_limit_write() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| BUF_SIZE | 0 | pool | (-1),20480 |
| BUF_SIZE | 0 | pool | (-1),20480 |
| DATA_SOURCE | 0 | pool | r get_cg_pool_unlocked |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/cgroup/dmem.c dmemcg_pool_free_rcu() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
kernel/cgroup/dmem.c free_cg_pool() -> dmemcg_pool_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| DATA_SOURCE | 0 | pool | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &dmemcg_lock |