Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dreboot.h163 extern bool kernel_can_power_off(void);
/linux-5.19.10/kernel/
Dreboot.c649 bool kernel_can_power_off(void) in kernel_can_power_off() function
654 EXPORT_SYMBOL_GPL(kernel_can_power_off);
714 if ((cmd == LINUX_REBOOT_CMD_POWER_OFF) && !kernel_can_power_off()) in SYSCALL_DEFINE4()
/linux-5.19.10/arch/x86/kernel/
Dreboot.c742 if (kernel_can_power_off()) { in native_machine_power_off()
/linux-5.19.10/kernel/power/
Dhibernate.c668 if (kernel_can_power_off()) in power_down()
/linux-5.19.10/drivers/memory/
Demif.c633 if (kernel_can_power_off()) { in emif_threaded_isr()