Home
last modified time | relevance | path

Searched refs:kernel_can_power_off (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/include/linux/
Dreboot.h174 extern bool kernel_can_power_off(void);
/linux-6.12.1/kernel/
Dreboot.c681 bool kernel_can_power_off(void) in kernel_can_power_off() function
686 EXPORT_SYMBOL_GPL(kernel_can_power_off);
746 if ((cmd == LINUX_REBOOT_CMD_POWER_OFF) && !kernel_can_power_off()) { in SYSCALL_DEFINE4()
/linux-6.12.1/arch/x86/kernel/
Dreboot.c796 if (kernel_can_power_off()) { in native_machine_power_off()
/linux-6.12.1/kernel/power/
Dhibernate.c688 if (kernel_can_power_off()) in power_down()
/linux-6.12.1/drivers/memory/
Demif.c623 if (kernel_can_power_off()) { in emif_threaded_isr()