Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/vmscan.c balance_pgdat() -> pgdat_balanced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | order | 0-117 |
| PARAM_VALUE | 2 | highest_zoneidx | s32min-4,6-2147483646 |
| BUF_SIZE | 0 | pgdat | 128 |
| BUF_SIZE | 0 | pgdat | 128 |
| CAPPED_DATA | 2 | highest_zoneidx | 1 |
| DATA_SOURCE | 0 | pgdat | $0 |
| DATA_SOURCE | 2 | highest_zoneidx | $2 |
| UNITS | 1 | order | unit_byte |
mm/vmscan.c kswapd_try_clear_hopeless() -> pgdat_balanced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | (-128)-127 |
| BUF_SIZE | 0 | pgdat | (-1),128 |
| BUF_SIZE | 0 | pgdat | (-1),128 |
| DATA_SOURCE | 0 | pgdat | $0 |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | highest_zoneidx | $2 |
| NOSPEC | 1 | order | |
| NOSPEC | 1 | order | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | order | 2-10[c] |
| USER_DATA | 1 | order | 2-10[c] |
| UNITS | 1 | order | unit_byte |
mm/vmscan.c prepare_kswapd_sleep() -> pgdat_balanced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | order | 0-115 |
| PARAM_VALUE | 2 | highest_zoneidx | s32min-4,6-s32max |
| BUF_SIZE | 0 | pgdat | 128 |
| BUF_SIZE | 0 | pgdat | 128 |
| CAPPED_DATA | 1 | order | 1 |
| DATA_SOURCE | 0 | pgdat | $0 |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | highest_zoneidx | $2 |
| UNITS | 1 | order | unit_byte |
mm/vmscan.c wakeup_kswapd() -> pgdat_balanced()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pgdat | 4096-ptr_max |
| PARAM_VALUE | 1 | order | 0-255 |
| CAPPED_DATA | 0 | pgdat->kswapd_order | 1 |
| CAPPED_DATA | 1 | order | 1 |
| DATA_SOURCE | 1 | order | $2 |
| DATA_SOURCE | 2 | highest_zoneidx | $3 |
| PARAM_COMPARE | 0 | &pgdat->kswapd_wait.head | != $0->kswapd_wait.head.next |
| PARAM_COMPARE | 1 | order | <= $0->kswapd_order |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pgdat->kswapd_order | 1-10[c] |
| HOST_DATA | 1 | order | 1-10[c] |
| USER_DATA | 0 | pgdat->kswapd_order | 1-10[c] |
| USER_DATA | 1 | order | 1-10[c] |
| UNITS | 1 | order | unit_byte |