Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/vmstat.c __dec_node_state() -> node_page_state_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | (-191)-190 |
| PARAM_VALUE | 1 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 9 |
| DATA_SOURCE | 1 | pgdat | $0 |
| DATA_SOURCE | 2 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &(&mapping->i_pages)->xa_lock |
mm/vmstat.c __inc_node_state() -> node_page_state_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | (-191)-190 |
| PARAM_VALUE | 1 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 9 |
| DATA_SOURCE | 1 | pgdat | $0 |
| DATA_SOURCE | 2 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/vmstat.c __mod_node_page_state() -> node_page_state_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 7-8,24,26,30 |
| BUF_SIZE | 1 | pgdat | (-1),128 |
| BUF_SIZE | 1 | pgdat | (-1),128 |
| DATA_SOURCE | 1 | pgdat | $0 |
| DATA_SOURCE | 2 | item | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | x | unit_page |
| HALF_LOCKED2 | &(&mapping->i_pages)->xa_lock | ||
| HALF_LOCKED2 | &lruvec->lru_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/vmstat.c mod_node_state() -> node_page_state_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | (-2147483840)-(-1),1-2147483838 |
| PARAM_VALUE | 1 | pgdat | 4096-ptr_max |
| BUF_SIZE | 1 | pgdat | (-1),64,128,280,1024 |
| BUF_SIZE | 1 | pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 1 | pgdat | $0 |
| DATA_SOURCE | 2 | item | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | x | (-192)-(-1),1-2147483838[c] |
| USER_DATA | 2 | item | 53-54,59-60[c] |
| UNITS | 0 | x | unit_page |
mm/mm_init.c free_area_init_core_hotplug() -> node_page_state_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | (-128)-(-1),1-127 |
| PARAM_VALUE | 1 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 2 | item | 0-68 |
| BUF_SIZE | 1 | pgdat->per_cpu_nodestats | 70,u64max |
| DATA_SOURCE | 1 | pgdat | $0 |
| MEM_ZERO | 1 | &pgdat->__lruvec | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |