/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
|
/src/sys/net/agr/ |
ieee8023ad_lacp_sm_ptx.c | 58 LACP_DPRINTF((lp, "partner timeout changed\n")); 65 * let lacp_sm_ptx_tx_schedule to update timeout. 71 * if timeout has been shortened, assert NTT. 82 int timeout; local in function:lacp_sm_ptx_tx_schedule 99 timeout = (lp->lp_partner.lip_state & LACP_STATE_TIMEOUT) ? 102 LACP_TIMER_ARM(lp, LACP_TIMER_PERIODIC, timeout);
|
ieee8023ad_lacp_sm_rx.c | 80 int timeout; local in function:lacp_sm_rx 107 timeout = (lp->lp_state & LACP_STATE_TIMEOUT) ? 109 LACP_TIMER_ARM(lp, LACP_TIMER_CURRENT_WHILE, timeout);
|
/src/games/hack/ |
hack.timeout.c | 1 /* $NetBSD: hack.timeout.c,v 1.9 2011/05/23 22:53:25 joerg Exp $ */ 66 __RCSID("$NetBSD: hack.timeout.c,v 1.9 2011/05/23 22:53:25 joerg Exp $"); 75 timeout(void) function in typeref:typename:void 81 if ((upp->p_flgs & TIMEOUT) && !--upp->p_flgs) { 128 long i = (Stoned & TIMEOUT);
|
/src/sys/compat/linux/common/ |
linux_oldselect.h | 46 struct linux_timeval *timeout; member in struct:linux_oldselect
|
/src/lib/libc/rpc/ |
pmap_getport.c | 69 static const struct timeval timeout = { 5, 0 }; variable in typeref:typename:const struct timeval 99 return clntudp_bufcreate(address, PMAPPROG, PMAPVERS, timeout,
|
pmap_rmt.c | 80 static const struct timeval timeout = { 3, 0 }; variable in typeref:typename:const struct timeval 104 client = clntudp_create(addr, PMAPPROG, PMAPVERS, timeout, &sock);
|
svc_run.c | 72 struct timeval timeout; local in function:__weak_alias 80 timeout.tv_sec = 30; 81 timeout.tv_usec = 0; 107 switch (select(*maxfd + 1, readfds, NULL, NULL, &timeout)) {
|
/src/sys/dev/ic/ |
joyvar.h | 47 int timeout[2]; member in struct:joy_softc
|
mc146818.c | 82 int s, timeout, cent, year; local in function:mc146818_gettime_ymdhms 86 timeout = 1000000; /* XXX how long should we wait? */ 90 if (--timeout < 0) { 91 printf("%s: timeout\n", __func__);
|
/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...] |
/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));
|
t_proc2.c | 95 struct timespec timeout; local in function:ATF_TC_BODY 99 timeout.tv_sec = 0; 100 timeout.tv_nsec = 0; 112 RL(kevent(kq, &ke, 1, NULL, 0, &timeout)); 120 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/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/regress/sys/kern/kqueue/vnode/ |
vnode.c | 47 struct timespec timeout; local in function:main 90 timeout.tv_sec = 60; 91 timeout.tv_nsec = 0; 97 n = kevent(kq, NULL, 0, event, 1, &timeout);
|
/src/sys/arch/acorn32/mainbus/ |
lpt_pioc.c | 72 int timeout; local in function:lpt_port_test 77 timeout = 1000; 81 } while (temp != data && --timeout);
|
/src/sys/arch/arc/jazz/ |
lpt_jazzio.c | 93 int timeout; local in function:lpt_port_test 98 timeout = 1000; 102 } while (temp != data && --timeout);
|
/src/sys/arch/hpcarm/dev/ |
j720ssp.c | 125 int timeout; local in function:j720ssp_readwrite 130 timeout = 400000; 132 if (--timeout == 0) { 133 DPRINTF(("j720ssp_readwrite: timeout 0\n")); 147 timeout = 100000; 149 if (--timeout == 0) { 150 DPRINTF(("j720ssp_readwrite: timeout 1\n"));
|
/src/sys/arch/hppa/gsc/ |
lpt_gsc.c | 99 int timeout; local in function:lpt_port_test 104 timeout = 1000; 108 } while (temp != data && --timeout); 109 LPRINTF(("lpt: port=0x%x out=0x%x in=0x%x timeout=%d\n", 110 (unsigned)(base + off), (unsigned)data, (unsigned)temp, timeout));
|
/src/sys/external/bsd/drm2/include/linux/ |
i2c-algo-bit.h | 46 int timeout; member in struct:i2c_algo_bit_data
|
/src/tests/lib/libc/sys/ |
t_kevent.c | 196 const struct timespec timeout = { local in function:ATF_TC_BODY 201 ATF_REQUIRE(kevent(kq, NULL, 0, &rev, 1, &timeout) == 1);
|
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/usr.bin/tip/aculib/ |
df.c | 49 static void timeout(int); 102 (void)signal(SIGALRM, timeout); 140 timeout(int dummy __unused) function in typeref:typename:void
|
/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...] |