Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/power/swap.c get_swap_reader() -> release_swap_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 3205084678894096384 |
| PARAM_VALUE | 0 | handle->cur | 0 |
| PARAM_VALUE | 0 | handle->maps | 0,4096-ptr_max |
| BUF_SIZE | 0 | handle->maps | 0,16 |
| 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 |
kernel/power/swap.c get_swap_reader() -> release_swap_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 3205084678894096384 |
| PARAM_VALUE | 0 | handle->cur | 0 |
| PARAM_VALUE | 0 | handle->maps | 4096-ptr_max |
| BUF_SIZE | 0 | handle->maps | 0,16 |
| 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 |
kernel/power/swap.c get_swap_reader() -> release_swap_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 3205084678894096384 |
| PARAM_VALUE | 0 | handle->cur | 0 |
| PARAM_VALUE | 0 | handle->maps | 4096-ptr_max |
| BUF_SIZE | 0 | handle->maps | 0,16 |
| 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 |
kernel/power/swap.c swap_read_page() -> release_swap_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 3205084678894096384 |
| PARAM_VALUE | 0 | handle->crc32 | 0 |
| PARAM_VALUE | 0 | handle->cur | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->cur->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | handle->k | 0 |
| PARAM_VALUE | 0 | handle->maps | 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 |
kernel/power/swap.c swap_reader_finish() -> release_swap_reader()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | handle | 3205084678894096384 |
| PARAM_VALUE | 0 | handle->k | 0-510 |
| 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 |