Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/swap_state.c read_swap_cache_async() -> swap_cache_read_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1257848565866106880,6315983428397965312 |
| PARAM_VALUE | 0 | ctx->sio | 0 |
| PARAM_VALUE | 0 | ctx->sis | 0 |
| PARAM_VALUE | 3 | mpol | 4096-ptr_max |
| PARAM_VALUE | 5 | readahead | 0 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| DATA_SOURCE | 2 | gfp | $2 |
| DATA_SOURCE | 3 | mpol | r get_vma_policy |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/swap_state.c swap_cache_read_folio_sync() -> swap_cache_read_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 9021887625956474880 |
| PARAM_VALUE | 0 | ctx->sio | 0 |
| PARAM_VALUE | 0 | ctx->sis | 0 |
| PARAM_VALUE | 3 | mpol | 1-u64max |
| PARAM_VALUE | 5 | readahead | 0 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| DATA_SOURCE | 1 | entry | $0 |
| DATA_SOURCE | 2 | gfp | $1 |
| DATA_SOURCE | 3 | mpol | $2 |
| DATA_SOURCE | 4 | ilx | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mpol->flags | 0,24,8192-57368[c] |
| USER_DATA | 3 | mpol->home_node | 0-1023 |
| USER_DATA | 3 | mpol->mode | 2,5,7-u16max |
mm/swap_state.c swap_cluster_readahead() -> swap_cache_read_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 28390354890043392 |
| PARAM_VALUE | 0 | ctx->sio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->sis | 0,4096-ptr_max |
| PARAM_VALUE | 3 | mpol | 1-u64max |
| BUF_SIZE | 3 | mpol | (-1),288 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| DATA_SOURCE | 1 | entry | r swp_entry |
| DATA_SOURCE | 2 | gfp | $1 |
| DATA_SOURCE | 3 | mpol | $2 |
| DATA_SOURCE | 4 | ilx | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mpol->flags | 0,24,8192-57368[c] |
| USER_DATA | 3 | mpol->home_node | 0-1023 |
| USER_DATA | 3 | mpol->mode | 2,5,7-u16max |
mm/swap_state.c swap_vma_readahead() -> swap_cache_read_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 1212476186466795520 |
| PARAM_VALUE | 0 | ctx->sio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctx->sis | 0,4096-ptr_max |
| PARAM_VALUE | 2 | gfp | 1051850 |
| PARAM_VALUE | 3 | mpol | 4096-ptr_max |
| BUF_SIZE | 3 | mpol | (-1),288 |
| BUF_SIZE | 3 | mpol | (-1),288 |
| DATA_SOURCE | 1 | entry | r softleaf_from_pte |
| DATA_SOURCE | 2 | gfp | $1 |
| DATA_SOURCE | 3 | mpol | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mpol->flags | 0,24,8192-57368[c] |
| USER_DATA | 3 | mpol->home_node | 0-1023 |
| USER_DATA | 3 | mpol->mode | 2,5,7-u16max |
| USER_DATA | 5 | readahead | 0-1 |
| HALF_LOCKED2 | &mm->mmap_lock |