Lines Matching full:reboot
3 * linux/kernel/reboot.c
8 #define pr_fmt(fmt) "reboot: " fmt
16 #include <linux/reboot.h>
23 * this indicates whether you can reboot with ctrl-alt-del: the default is yes
43 * reboot_type is still set to its default value (i.e., reboot= hasn't
45 * suppress DMI scanning for reboot quirks. Without it, it's
46 * impossible to override a faulty reboot quirk without recompiling.
65 * reboot when the reboot call was invoked with LINUX_REBOOT_CMD_POWER_OFF, but
85 * emergency_restart - reboot the system
88 * reboot the system. This is called when we know we are in
89 * trouble so this is our best effort to reboot. This is
109 * register_reboot_notifier - Register function to be called at reboot time
113 * to be called at reboot time.
125 * unregister_reboot_notifier - Unregister previously registered reboot notifier
128 * Unregisters a previously registered reboot
257 /* Make certain the cpu I'm about to reboot on is online */ in migrate_to_reboot_cpu()
280 * kernel_restart - reboot the system
284 * Shutdown everything and perform a clean reboot.
721 * Reboot system call: for obvious reasons only root may call it,
723 * so that some mistake won't make this reboot the whole machine.
726 * reboot doesn't sync: do that yourself before calling this.
728 SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd, in SYSCALL_DEFINE4() argument
826 * is whether to reboot at once, or just ignore the ctrl-alt-del.
840 static const char reboot_cmd[] = "/sbin/reboot";
869 pr_warn("Failed to start orderly reboot: forcing the issue\n"); in __orderly_reboot()
930 * orderly_reboot - Trigger an orderly system reboot
932 * This may be called from any context to trigger a system reboot.
933 * If the orderly reboot fails, it will force an immediate reboot.
947 return "reboot"; in hw_protection_action_str()
960 * a kernel poweroff or reboot after a configurable timeout value.
971 * expired. This means orderly_poweroff/reboot has not been able to in hw_failure_emergency_action_func()
994 * hw_failure_emergency_schedule - Schedule an emergency system shutdown or reboot
1000 * or reboot after a given period of time.
1014 * __hw_protection_trigger - Trigger an emergency system shutdown or reboot
1016 * @reason: Reason of emergency shutdown or reboot to be printed.
1017 * @ms_until_forced: Time to wait for orderly shutdown or reboot before
1019 * shutdown or reboot.
1022 * Initiate an emergency system shutdown or reboot in order to protect
1024 * NOTE: The request is ignored if protection shutdown or reboot is already
1026 * shutdown/reboot.
1060 else if (sysfs_streq(str, "reboot")) in hw_protection_action_parse()
1104 * reboot= will cause us to disable DMI checking in reboot_setup()
1140 pr_err("Ignoring the CPU number in reboot= option. " in reboot_setup()
1176 __setup("reboot=", reboot_setup);
1403 reboot_kobj = kobject_create_and_add("reboot", kernel_kobj); in reboot_ksysfs_init()