Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/vmstat.c node_page_state() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | item | 0-68 |
| BUF_SIZE | 0 | pgdat | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | pgdat | $0 |
| DATA_SOURCE | 1 | item | $1 |
| STR_LEN | 0 | pgdat | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | pgdat | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | vmf->ptl |
mm/vmstat.c zoneinfo_show_print() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 0-68 |
| DATA_SOURCE | 0 | pgdat | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| HALF_LOCKED2 | &zone->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/base/node.c node_read_meminfo() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | item | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/node.c node_read_meminfo() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | item | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/node.c node_read_meminfo() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | item | 41 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/node.c node_read_vmstat() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | item | 0-68 |
| 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/vmscan.c __node_reclaim() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 5 |
| DATA_SOURCE | 0 | pgdat | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
mm/vmscan.c node_reclaim() -> node_page_state_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | item | 5 |
| DATA_SOURCE | 0 | pgdat | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &oom_lock |