/third_party/ltp/testcases/kernel/syscalls/reboot/ |
H A D | reboot02.c | 10 * Test whether libc wrapper of reboot(2) system call returns appropriate 15 #include <sys/reboot.h> 16 #include <linux/reboot.h> 40 TST_EXP_FAIL(reboot(tc->cmd), in run() 46 TST_EXP_FAIL(reboot(tc->cmd), in run()
|
H A D | reboot01.c | 11 * Basic test of libc wrapper of reboot(2) system call. 14 * which do not perform reboot. 18 #include <sys/reboot.h> 19 #include <linux/reboot.h> 34 TST_EXP_PASS(reboot(tcases[n].cmd), "reboot(%s)", tcases[n].desc); in run()
|
/third_party/musl/libc-test/src/functionalext/reboot/ |
H A D | reboot.c | 16 #include <sys/reboot.h> 27 * @tc.desc : test reboot with flag LINUX_REBOOT_CMD_CAD_ON 32 TEST(reboot(LINUX_REBOOT_CMD_CAD_ON) == 0); in reboot_0010() 37 * @tc.desc : test reboot with flag LINUX_REBOOT_CMD_CAD_OFF 42 TEST(reboot(LINUX_REBOOT_CMD_CAD_OFF) == 0); in reboot_0020()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | reboot.rs | 32 pub fn reboot(how: RebootMode) -> Result<Infallible> { in reboot() functions 33 unsafe { libc::reboot(how as libc::c_int) }; in reboot() 37 /// Enable or disable the reboot keystroke (Ctrl-Alt-Delete). 39 /// Corresponds to calling `reboot(RB_ENABLE_CAD)` or `reboot(RB_DISABLE_CAD)` in C. 46 let res = unsafe { libc::reboot(cmd) }; in set_cad_enabled()
|
H A D | mod.rs | 99 #![feature = "reboot"] 100 pub mod reboot; modules
|
/third_party/musl/porting/linux/user/src/linux/ |
H A D | reboot.c | 16 #include <sys/reboot.h> 23 weak_alias(__reboot, reboot) in __reboot()
|
/third_party/musl/src/linux/ |
H A D | reboot.c | 1 #include <sys/reboot.h> 8 weak_alias(__reboot, reboot);
|
/third_party/toybox/porting/liteos_a/toys/other/ |
H A D | reboot.c | 0 /* reboot.c - Restart, halt or powerdown the system. 5 USE_REBOOT(NEWTOY(reboot, "", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) 8 bool "reboot" 11 usage: reboot 18 #include <sys/reboot.h> 26 toys.exitval = reboot(types[idx]); in reboot_main()
|
/third_party/toybox/toys/other/ |
H A D | reboot.c | 0 /* reboot.c - Restart, halt or powerdown the system. 5 USE_REBOOT(NEWTOY(reboot, "d:fn", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) 6 USE_REBOOT(OLDTOY(halt, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) 7 USE_REBOOT(OLDTOY(poweroff, reboot, TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) 10 bool "reboot" 13 usage: reboot/halt/poweroff [-fn] [-d DELAY] 18 -f Force reboot (don't signal init, reboot directly) 19 -n Don't sync filesystems before reboot 24 #include <sys/reboot [all...] |
H A D | oneit.c | 27 and SIGTERM or SIGINT reboot. 32 #include <sys/reboot.h> 46 // point it calls sync() and reboot(). I could stick a kill -1 in there. 57 // PID 1 can't call reboot() because it kills the task that calls it, in oneit_signaled() 58 // which causes the kernel to panic before the actual reboot happens. in oneit_signaled() 61 if (!vfork()) reboot(action); in oneit_signaled() 112 // Give reboot() time to kick in, or avoid rapid spinning if exec failed in oneit_main()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | reboot.h | 15 int reboot(int);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | reboot.h | 15 int reboot(int);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | reboot.h | 15 int reboot(int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | reboot.h | 15 int reboot(int);
|
/third_party/musl/porting/linux/user/include/sys/ |
H A D | reboot.h | 34 * @brief reboots the device, or enables/disables the reboot keystroke. 35 * @param type commands accepted by the reboot() system call. 44 * @return reboot result. 48 int reboot(int);
|
/third_party/musl/include/sys/ |
H A D | reboot.h | 18 * @brief reboots the device, or enables/disables the reboot keystroke. 19 * @param type commands accepted by the reboot() system call. 28 * @return reboot result. 32 int reboot(int);
|
/third_party/ltp/testcases/kernel/mce-test/drivers/kdump/ |
H A D | driver.sh | 39 @reboot cd "$(pwd)"; ${0} $conf >> $WDIR/log 2>&1; cat $WDIR/log > /dev/console 177 export reboot=1 229 echo "System is going to reboot."
|
/third_party/toybox/toys/pending/ |
H A D | init.c | 23 #include <sys/reboot.h> 360 error_msg("Requesting system reboot"); in halt_poweroff_reboot_handler() 371 reboot(reboot_magic_no); in halt_poweroff_reboot_handler() 399 reboot(RB_HALT_SYSTEM); in restart_init_handler() 478 xsignal(SIGTERM, halt_poweroff_reboot_handler);//reboot in init_main()
|
/third_party/skia/tools/skpbench/ |
H A D | _adb.py | 50 def reboot(self): member in Adb 52 self.shell('reboot')
|
H A D | _hardware_android.py | 73 self._adb.reboot() # some devices struggle waking up; just hard reboot. 125 # pick something lower, so it doesn't get too hot (it'd reboot)
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-system.h | 26 * and performing common system operations like reboot. 164 int (*reboot)(void); member
|
/third_party/ltp/testcases/kdump/ |
H A D | runkdump.sh | 17 @reboot cd "$(pwd)"; cd ..; ${0} >>/tmp/kdump-$(date +%F-%T).log 2>&1 199 echo "System is going to reboot." 246 # Some tests could not reboot target. They can hung up 248 # tests. So we are going to reboot if we are in wrong 252 echo "$(date +%F-%T): manually reboot for test ${i}." >>"${ldir}/status"
|
/third_party/toybox/generated/ |
H A D | globals.h | 377 // toys/other/reboot.c 1665 struct reboot_data reboot; member
|
/third_party/vk-gl-cts/android/cts/runner/tests/src/com/drawelements/deqp/runner/ |
H A D | DeqpTestRunnerTest.java | 1562 mockDevice.reboot(); in setRecoveryExpectationReboot() 1803 mockDevice.reboot(); in testRecovery_unkillableProcess()
|
/third_party/vk-gl-cts/android/cts/runner/src/com/drawelements/deqp/runner/ |
H A D | DeqpTestRunner.java | 883 mState = MachineState.REBOOT; // the next step is to reboot in recoverConnectionRefused() 894 // Second failure in a row, try to reboot in recoverConnectionRefused() 909 throw new DeviceNotAvailableException("failed to connect after reboot", in recoverConnectionRefused() 943 mState = MachineState.REBOOT; // the next step is to reboot in recoverComLinkKilled() 958 // Third failure in a row, try to reboot in recoverComLinkKilled() 973 throw new DeviceNotAvailableException("link killed after reboot", in recoverComLinkKilled() 1022 mDevice.reboot(); in rebootDevice()
|