Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/reboot.c
- arch/x86/kernel/smpboot.c, line 1510
- arch/x86/kernel/tboot.c, line 304
- arch/x86/power/cpu.c, line 309
Smatch caller information:
arch/x86/kernel/tboot.c tboot_sleep() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 0-4294967294 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/reboot.c native_machine_emergency_restart() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |
arch/x86/kernel/reboot.c native_machine_halt() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
arch/x86/kernel/reboot.c native_machine_power_off() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 4 |
| 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/smpboot.c native_play_dead() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 5 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
arch/x86/power/cpu.c resume_play_dead() -> tboot_shutdown()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | shutdown_type | 5 |
| NOCHECK_CALL | |||
| LOCK2 | irq |