Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

arch/x86/xen/enlighten_hvm.c xen_hvm_crash_shutdown() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/xen/enlighten_hvm.c xen_hvm_shutdown() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
HALF_LOCKED2 global &system_transition_mutex

drivers/xen/efi.c xen_efi_reset_system() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/xen/efi.c xen_efi_reset_system() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/xen/enlighten_pv.c xen_crash_shutdown() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 flags
HALF_LOCKED2 irq

arch/x86/xen/enlighten_pv.c xen_machine_halt() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/xen/enlighten_pv.c xen_machine_power_off() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sc->state_mtx
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

arch/x86/xen/enlighten_pv.c xen_restart() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/xen/enlighten.c xen_emergency_restart() -> xen_reboot()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

arch/x86/xen/enlighten.c xen_panic_event() -> xen_reboot()

Type Parameter Key Value
PARAM_VALUE 0 reason 3
NOCHECK_CALL