Defined in 3 files as a prototype:

Defined in 24 files as a function:

Referenced in 16 files:

Smatch caller information:

kernel/reboot.c kernel_restart() -> machine_restart()

Type Parameter Key Value
BUF_SIZE 0 cmd (-1),10,27,31,34,256
BUF_SIZE 0 cmd (-1),10,27,31,34,256
DATA_SOURCE 0 cmd $0
STR_LEN 0 cmd (-1),9,26,30,33
STR_LEN 0 cmd (-1),9,26,30,33
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &sc->state_mtx
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

drivers/power/reset/restart-poweroff.c restart_poweroff_do_poweroff() -> machine_restart()

Type Parameter Key Value
PARAM_VALUE 0 cmd 0
NOCHECK_CALL