Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/memcontrol.c mem_cgroup_css_reset() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/memcontrol.c mem_cgroup_css_reset() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/memcontrol.c mem_cgroup_css_reset() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/memcontrol.c mem_cgroup_css_reset() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/hugetlb_cgroup.c hugetlb_cgroup_init() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 0 | counter->max | 2251799813685247 |
| PARAM_VALUE | 0 | counter->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | counter->protection_support | 0 |
| PARAM_VALUE | 1 | nr_pages | 0-2251799813685247 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 0 | counter | r hugetlb_cgroup_counter_from_cgroup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/hugetlb_cgroup.c hugetlb_cgroup_init() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 0 | counter->max | 2251799813685247 |
| PARAM_VALUE | 0 | counter->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | counter->protection_support | 0 |
| PARAM_VALUE | 1 | nr_pages | 0-2251799813685247 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 0 | counter | r hugetlb_cgroup_counter_from_cgroup_rsvd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cgroup_mutex |
mm/hugetlb_cgroup.c hugetlb_cgroup_write() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 0-2251799813685247 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &hugetlb_limit_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol-v1.c mem_cgroup_resize_max() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| BUF_SIZE | 0 | counter | 12288 |
| DATA_SOURCE | 1 | nr_pages | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &memcg_max_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol-v1.c memcg_update_tcp_max() -> page_counter_set_max()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | counter | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_pages | 2251799813685247 |
| DATA_SOURCE | 1 | nr_pages | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &memcg_max_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |