Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/compaction.c compaction_suit_allocation_order() -> compaction_suitable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| DATA_SOURCE | 0 | zone | $0 |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | watermark | r wmark_pages |
| DATA_SOURCE | 3 | highest_zoneidx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | order | unit_byte |
mm/vmscan.c compaction_ready() -> compaction_suitable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | order | 4-127 |
| DATA_SOURCE | 0 | zone | $0 |
| DATA_SOURCE | 2 | watermark | r high_wmark_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | order | unit_byte |
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
mm/vmscan.c should_continue_reclaim() -> compaction_suitable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | zone | 4096-ptr_max |
| PARAM_VALUE | 1 | order | (-128)-(-1),1-127 |
| PARAM_VALUE | 3 | highest_zoneidx | 0-127 |
| BUF_SIZE | 0 | zone | (-1),81920 |
| BUF_SIZE | 0 | zone | (-1),81920 |
| DATA_SOURCE | 2 | watermark | r min_wmark_pages |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | order | unit_byte |