Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/power/user.c snapshot_ioctl() -> suspend_devices_and_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 3 |
| CAPABLE | 0 | 21 | |
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex |
kernel/power/suspend.c enter_state() -> suspend_devices_and_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1-3 |
| DATA_SOURCE | 0 | state | $0 |
| FUZZY_MAX | 0 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |
kernel/power/hibernate.c power_down() -> suspend_devices_and_enter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &autosleep_lock |