/src/sys/stand/efiboot/ |
efiwatchdog.c | 37 efi_set_watchdog(uint32_t timeout, uint64_t code) 39 uefi_call_wrapper(BS->SetWatchdogTimer, 4, timeout, code, 0, NULL);
|
/src/usr.bin/timeout/ |
Makefile | 2 # $FreeBSD: head/usr.bin/timeout/Makefile 268745 2014-07-16 09:55:36Z bapt $ 4 PROG= timeout
|
/src/tests/lib/libcurses/tests/ |
timeout | 2 # Validate the timeout works. 8 call OK timeout 100 10 # since delay is in effect and we set timeout the following getch should 15 call OK timeout -1 21 compare timeout.chk
|
/src/lib/libc/sys/ |
epoll.c | 50 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) 52 return epoll_pwait(epfd, events, maxevents, timeout, NULL); 56 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, 61 if (timeout >= 0) { 62 ts.tv_sec = timeout / 1000; 63 ts.tv_nsec = (timeout % 1000) * 1000000;
|
sigtimedwait.c | 45 * Copy timeout to local variable and call the syscall. 49 const struct timespec * __restrict timeout) 53 if (timeout) { 54 ts = *timeout;
|
/src/sys/compat/linux/common/ |
linux_oldselect.h | 46 struct linux_timeval *timeout; member in struct:linux_oldselect
|
/src/sys/arch/luna68k/stand/boot/ |
awaitkey.c | 47 * awaitkey(const char *pfmt, int timeout, bool tell) 49 * Wait timeout seconds until any input from stdin. 54 awaitkey(const char *pfmt, int timeout, bool tell) 59 if (timeout <= 0) 63 print_countdown(pfmt, timeout); 73 if (--timeout == 0) 76 print_countdown(pfmt, timeout);
|
/src/lib/libc/compat/sys/ |
compat_sigtimedwait.c | 55 * Copy timeout to local variable and call the syscall. 59 const struct timespec50 * __restrict timeout) 63 if (timeout) { 64 timespec50_to_timespec(timeout, &ts); 72 struct timespec50 * __restrict timeout) 74 return sigtimedwait(set, info, timeout);
|
/src/sys/dev/scsipi/ |
scsipi_base.h | 40 int datalen, int retries, int timeout, struct buf *, 45 int datalen, int retries, int timeout, struct buf *, 50 int datalen, int retries, int timeout, struct buf *, 59 int cmdlen, u_char *data_addr, int datalen, int retries, int timeout, 77 xs->timeout = timeout; 85 int cmdlen, u_char *data_addr, int datalen, int retries, int timeout, 90 datalen, retries, timeout, bp, flags & ~XS_CTL_NOSLEEP); 95 int cmdlen, u_char *data_addr, int datalen, int retries, int timeout, 101 datalen, retries, timeout, bp, flags | XS_CTL_NOSLEEP) [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_wait.c | 23 long timeout) 28 return timeout; 31 return i915_request_wait(to_request(fence), flags, timeout); 35 timeout); 41 long timeout) 57 timeout = i915_gem_object_wait_fence(shared[i], 58 flags, timeout); 59 if (timeout < 0) 78 prune_fences = count && timeout >= 0; 83 if (excl && timeout >= 0 [all...] |
/src/tests/lib/libc/sys/ |
t_pollts.c | 51 atf_tc_set_md_var(tc, "timeout", "10"); 60 struct timespec timeout; local in function:ATF_TC_BODY 70 /* Use a timeout of 1 second. */ 71 timeout.tv_sec = 1; 72 timeout.tv_nsec = 0; 75 * Check that we get a timeout waiting for data on the read end 80 ATF_REQUIRE_EQ_MSG(ret = POLLTS(&pfds[0], 1, &timeout, NULL), 0, 88 ATF_REQUIRE_EQ_MSG(ret = POLLTS(&pfds[1], 1, &timeout, NULL), 1, 97 ATF_REQUIRE_EQ_MSG(ret = POLLTS(pfds, 2, &timeout, NULL), 1, 109 ATF_REQUIRE_EQ_MSG(ret = POLLTS(pfds, 2, &timeout, NULL), 2 128 struct timespec timeout; local in function:ATF_TC_BODY 160 struct timespec timeout; local in function:ATF_TC_BODY [all...] |
/src/sys/external/bsd/drm2/include/linux/ |
sched.h | 68 schedule_timeout_uninterruptible(long timeout) 72 KASSERT(timeout >= 0); 73 KASSERT(timeout < MAX_SCHEDULE_TIMEOUT); 78 unsigned ms = hztoms(MIN((unsigned long)timeout, 82 us = MIN(timeout, (INT_MAX/1000000)/hz)*hz*1000000; 84 us = timeout/(1000000/hz); 92 (void)kpause("loonix", /*intr*/false, MIN(timeout, INT_MAX/2), NULL); 95 return timeout - MIN(timeout, (end - start));
|
i2c-algo-bit.h | 46 int timeout; member in struct:i2c_algo_bit_data
|
/src/sys/dev/ic/ |
joyvar.h | 47 int timeout[2]; member in struct:joy_softc
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/ |
amdgpu_common_baco.c | 35 u32 timeout = 5000, data; local in function:baco_wait_register 40 timeout--; 41 } while (value != (data & mask) && (timeout != 0)); 43 if (timeout == 0) 50 u32 shift, u32 value, u32 timeout) 69 if (timeout) 71 msleep(timeout); 74 if (timeout) 76 udelay(timeout); 99 entry[i].shift, entry[i].val, entry[i].timeout)) [all...] |
common_baco.h | 43 uint32_t timeout; member in struct:baco_cmd_entry 55 uint32_t timeout; member in struct:soc15_baco_cmd_entry
|
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_gt_requests.h | 16 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout); 27 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout);
|
/src/lib/libc/include/ |
futex_private.h | 44 __futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, 47 return _syscall(SYS___futex, uaddr, op, val, timeout, uaddr2,
|
/src/tests/kernel/ |
t_semtimedop.c | 61 struct timespec timeout; local in function:ATF_TC_BODY 79 /* Define timeout */ 80 timeout.tv_sec = 1; 81 timeout.tv_nsec = 0; 84 if (semtimedop(semid, &sops, 1, &timeout) == -1) { 98 /* semtimedop blocks until timeout expires */ 103 "semtimedop blocks until timeout expires"); 112 struct timespec timeout; local in function:ATF_TC_BODY 132 * block until timeout 138 timeout.tv_sec = 2 173 struct timespec timeout; local in function:ATF_TC_BODY 232 struct timespec timeout; local in function:ATF_TC_BODY [all...] |
/src/games/tetris/ |
input.c | 65 * Do a `read wait': poll for reading from stdin, with timeout *tvp. 79 int timeout; local in function:rwait 85 timeout = tvp->tv_sec * 1000 + tvp->tv_usec / 1000; 87 timeout = INFTIM; 91 switch (poll(set, 1, timeout)) { 135 * getchar with timeout.
|
/src/sys/arch/landisk/stand/boot/ |
cons.h | 40 char awaitkey(int timeout, int tell);
|
/src/sys/dev/isa/ |
weasel_isa.c | 282 int timeout; local in function:weasel_isa_wdog_arm_disarm 290 for (timeout = 5000; timeout; timeout--) { 297 if (timeout == 0) { 302 for (timeout = 500 ; timeout; timeout--) { 309 if (timeout == 0) { 314 for (timeout = 500; timeout; timeout--) 354 int timeout, reg; local in function:weasel_isa_wdog_query_state [all...] |
/src/tests/kernel/kqueue/ |
t_proc3.c | 62 struct timespec timeout; local in function:ATF_TC_BODY 80 timeout.tv_sec = 0; 81 timeout.tv_nsec = 0; 86 RL(kevent(kq, NULL, 0, &ke, 1, &timeout));
|
/src/tests/lib/libc/kevent_nullmnt/ |
h_nullmnt.c | 34 struct timespec timeout; local in function:main 55 timeout.tv_sec = 5; 56 timeout.tv_nsec = 0; 71 nev = kevent(kq, NULL, 0, &eventlist, 1, &timeout);
|
/src/lib/libcurses/ |
timeout.c | 1 /* $NetBSD: timeout.c,v 1.10 2024/12/23 02:58:04 blymn Exp $ */ 34 __RCSID("$NetBSD: timeout.c,v 1.10 2024/12/23 02:58:04 blymn Exp $"); 43 * timeout -- 47 timeout(int delay) function in typeref:typename:void 73 * 2. timeout granularity is ms but VTIME is 0.1s
|