Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/reboot.c, line 751
- drivers/memory/emif.c, line 624
- kernel/power/hibernate.c, line 703
- kernel/reboot.c
Smatch caller information:
arch/x86/kernel/reboot.c native_machine_power_off() -> kernel_can_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sc->state_mtx | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
kernel/reboot.c __do_sys_reboot() -> kernel_can_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NS_CAPABLE | 0 | 22 |
kernel/reboot.c __do_sys_reboot() -> kernel_can_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NS_CAPABLE | 0 | 22 |
kernel/power/hibernate.c power_down() -> kernel_can_power_off()
| 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 |
drivers/memory/emif.c emif_threaded_isr() -> kernel_can_power_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |