Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/power/swap.c get_swap_writer() -> release_swap_writer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 7605973323426541568 |
| PARAM_VALUE | 0 | handle->cur | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | handle->cur_swap | 0 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |
kernel/power/swap.c swap_writer_finish() -> release_swap_writer()
| 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 |
| DATA_SOURCE | 0 | handle | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |