Lines Matching defs:status
49 int status;
58 if (wait(&status) < 0) {
63 if (!WIFSIGNALED(status)) {
69 if (WTERMSIG(status) != sig) {
98 int status;
105 status = have_reboot_patch();
106 if (status != 0) {
111 status = test_reboot(LINUX_REBOOT_CMD_CAD_ON, -1);
112 if (status >= 0) {
118 status = test_reboot(LINUX_REBOOT_CMD_RESTART, SIGHUP);
119 if (status < 0)
123 status = test_reboot(LINUX_REBOOT_CMD_RESTART2, SIGHUP);
124 if (status < 0)
128 status = test_reboot(LINUX_REBOOT_CMD_HALT, SIGINT);
129 if (status < 0)
133 status = test_reboot(LINUX_REBOOT_CMD_POWER_OFF, SIGINT);
134 if (status < 0)