Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/memcontrol-v1.c __mem_cgroup_usage_register_event() -> __mem_cgroup_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 4096-ptr_max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | memcg | 1 |
| CAPPED_DATA | 0 | &memcg->thresholds_lock | 1 |
| DATA_SOURCE | 0 | memcg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &memcg->thresholds_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mem_cgroup)->thresholds_lock |
mm/memcontrol-v1.c __mem_cgroup_usage_unregister_event() -> __mem_cgroup_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 0,4096-ptr_max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | memcg->thresholds_lock.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | memcg | 1 |
| CAPPED_DATA | 0 | &memcg->thresholds_lock | 1 |
| DATA_SOURCE | 0 | memcg | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &memcg->thresholds_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mem_cgroup)->thresholds_lock |
mm/memcontrol-v1.c mem_cgroup_threshold() -> __mem_cgroup_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 1-u64max |
| PARAM_VALUE | 1 | swap | 0 |
| DATA_SOURCE | 0 | memcg | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/memcontrol-v1.c mem_cgroup_threshold() -> __mem_cgroup_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | memcg | 4096-ptr_max |
| PARAM_VALUE | 1 | swap | 1 |
| DATA_SOURCE | 0 | memcg | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |