Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/power/swap.c save_compressed_image() -> swap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 7605973323426541568 |
| PARAM_VALUE | 0 | handle->crc32 | 0 |
| PARAM_VALUE | 0 | handle->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | handle->cur_swap | 1-u64max |
| PARAM_VALUE | 0 | handle->first_sector | 1-u64max |
| PARAM_VALUE | 0 | handle->k | 0-511 |
| PARAM_VALUE | 0 | handle->reqd_free_pages | 0-4611686018427387903 |
| PARAM_VALUE | 1 | buf | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | hb | 4539563694304731136 |
| PARAM_VALUE | 2 | hb->error | 0 |
| PARAM_VALUE | 2 | hb->plug.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | hb->plug.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hb->plug.nr_ios | 1-32 |
| CAPPED_DATA | 0 | handle->reqd_free_pages | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| DATA_SOURCE | 1 | buf | r get_free_pages_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |
kernel/power/swap.c save_image() -> swap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 7605973323426541568 |
| PARAM_VALUE | 0 | handle->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | handle->cur_swap | 1-u64max |
| PARAM_VALUE | 0 | handle->first_sector | 1-u64max |
| PARAM_VALUE | 0 | handle->k | 0-511 |
| PARAM_VALUE | 0 | handle->reqd_free_pages | 0-4611686018427387903 |
| PARAM_VALUE | 2 | hb | 4526766698703532032 |
| PARAM_VALUE | 2 | hb->error | 0 |
| PARAM_VALUE | 2 | hb->plug.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 2 | hb->plug.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | hb->plug.nr_ios | 1-32 |
| CAPPED_DATA | 0 | handle->reqd_free_pages | 1 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |
kernel/power/swap.c swsusp_write() -> swap_write_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 7605973323426541568 |
| PARAM_VALUE | 0 | handle->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | handle->cur_swap | 1-u64max |
| PARAM_VALUE | 0 | handle->first_sector | 1-u64max |
| PARAM_VALUE | 0 | handle->k | 0 |
| PARAM_VALUE | 0 | handle->reqd_free_pages | 0-4611686018427387903 |
| PARAM_VALUE | 1 | buf | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | hb | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |