Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/reboot.c kernel_halt() -> kernel_shutdown_prepare()

Type Parameter Key Value
PARAM_VALUE 0 state 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/reboot.c kernel_power_off() -> kernel_shutdown_prepare()

Type Parameter Key Value
PARAM_VALUE 0 state 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sc->state_mtx
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex