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 memory_high_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 1273858744912920576 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c memory_low_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 7752524170497331200 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c memory_max_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 8305170374502326272 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c memory_min_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 9015165819775369216 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c swap_high_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 2109932992947826688 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c swap_max_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 4640791300233879552 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol.c zswap_max_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 7910641206148386816 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 3 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/hugetlb_cgroup.c hugetlb_cgroup_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 603607261393375232,3190506018333282304 |
| PARAM_VALUE | 2 | nr_pages | 8339493598279806976 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 3-4 |
| BUF_SIZE | 1 | max | 3-4 |
| DATA_SOURCE | 0 | buf | r strstrip |
| DATA_SOURCE | 1 | max | $4 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol-v1.c __mem_cgroup_usage_register_event() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | max | 603607261393375232 |
| PARAM_VALUE | 2 | nr_pages | 2451045230542766080 |
| BUF_SIZE | 1 | max | 3 |
| DATA_SOURCE | 0 | buf | $2 |
| STR_LEN | 0 | buf | 2 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memcontrol-v1.c mem_cgroup_soft_limit_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 603607261393375232 |
| PARAM_VALUE | 2 | nr_pages | 4748208326759665664 |
| BUF_SIZE | 1 | max | 3 |
| STR_LEN | 0 | buf | 2 |
| TERMINATED | 1 | max | 1 |
mm/memcontrol-v1.c mem_cgroup_write() -> page_counter_memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| PARAM_VALUE | 1 | max | 603607261393375232 |
| PARAM_VALUE | 2 | nr_pages | 7527800555821334528 |
| BUF_SIZE | 0 | buf | s32min-s32max |
| BUF_SIZE | 1 | max | 3 |
| DATA_SOURCE | 0 | buf | r strstrip |
| STR_LEN | 0 | buf | 2 |
| TERMINATED | 0 | buf | 1 |
| TERMINATED | 1 | max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |