Lines Matching defs:int
25 int C_A_D = 1;
44 int reboot_default = 1;
45 int reboot_cpu;
47 int reboot_force;
89 int register_reboot_notifier(struct notifier_block *nb)
104 int unregister_reboot_notifier(struct notifier_block *nb)
115 int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb)
118 int ret;
181 int register_restart_handler(struct notifier_block *nb)
196 int unregister_restart_handler(struct notifier_block *nb)
221 int register_pre_restart_handler(struct notifier_block *nb)
227 int unregister_pre_restart_handler(struct notifier_block *nb)
242 int cpu = reboot_cpu;
333 SYSCALL_DEFINE4(reboot, int, magic1, int, magic2, unsigned int, cmd, void __user *, arg)
337 int ret = 0;
446 static int run_cmd(const char *cmd)
450 int ret;
462 static int __orderly_reboot(void)
464 int ret;
476 static int __orderly_poweroff(bool force)
478 int ret;
540 static int __init reboot_setup(char *str)