Defined in 2 files as a prototype:
- arch/microblaze/include/asm/setup.h, line 24 (as a prototype)
- include/linux/reboot.h, line 62 (as a prototype)
Defined in 1 files as a member:
Defined in 12 files as a function:
- arch/arm/kernel/reboot.c, line 93 (as a function)
- arch/arm64/kernel/process.c, line 91 (as a function)
- arch/loongarch/kernel/machine_kexec.c, line 217 (as a function)
- arch/m68k/kernel/machine_kexec.c, line 27 (as a function)
- arch/microblaze/kernel/reset.c, line 14 (as a function)
- arch/mips/kernel/machine_kexec.c, line 137 (as a function)
- arch/parisc/kernel/kexec.c, line 62 (as a function)
- arch/powerpc/kernel/setup-common.c, line 121 (as a function)
- arch/riscv/kernel/machine_kexec.c, line 107 (as a function)
- arch/s390/kernel/machine_kexec.c, line 215 (as a function)
- arch/sh/kernel/reboot.c, line 76 (as a function)
- arch/x86/kernel/reboot.c, line 776 (as a function)
Referenced in 8 files:
- arch/powerpc/kernel/setup-common.c
- arch/powerpc/platforms/embedded6xx/gamecube.c, line 74
- arch/powerpc/platforms/embedded6xx/wii.c, line 179
- arch/powerpc/platforms/powermac/nvram.c, line 539
- arch/powerpc/platforms/powernv/setup.c, line 579
- arch/sh/kernel/reboot.c, line 55
- arch/x86/kernel/reboot.c
- kernel/kexec_core.c, line 1204
Smatch caller information:
arch/x86/kernel/reboot.c native_machine_halt() -> machine_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
arch/x86/kernel/reboot.c native_machine_power_off() -> machine_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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/kernel/reboot.c native_machine_restart() -> machine_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/kexec_core.c kernel_kexec() -> machine_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &luo_session_serialize_rwsem |