Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 585) sorted by relevance

12345678910>>...24

/freebsd-10-stable/contrib/netbsd-tests/lib/libc/gen/
Dt_sleep.c98 do_nanosleep(struct timespec *delay, struct timespec *remain) in do_nanosleep() argument
102 if (nanosleep(delay, remain) == -1) in do_nanosleep()
110 do_select(struct timespec *delay, struct timespec *remain) in do_select() argument
115 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_select()
125 do_poll(struct timespec *delay, struct timespec *remain) in do_poll() argument
130 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_poll()
131 if (pollts(NULL, 0, delay, NULL) == -1) in do_poll()
140 do_sleep(struct timespec *delay, struct timespec *remain) in do_sleep() argument
144 TIMESPEC_TO_TIMEVAL(&tv, delay); in do_sleep()
145 remain->tv_sec = sleep(delay->tv_sec); in do_sleep()
[all …]
/freebsd-10-stable/tools/regression/netipx/ipxsocket/
Dipxsocket.c56 int delay, s; in main() local
58 for (delay = 0; delay < 5; delay++) { in main()
63 maybe_sleep(delay); in main()
71 maybe_sleep(delay); in main()
79 maybe_sleep(delay); in main()
87 maybe_sleep(delay); in main()
/freebsd-10-stable/contrib/sendmail/libsm/
Dt-sem.c28 delay(t, s)
75 delay(0, "try to acq");
81 delay(0, "acquired");
85 delay(0, "try to rel");
91 delay(0, "released");
206 delay(1, "parent: acquire 1");
221 delay(3, "parent: release 1");
236 delay(1, "parent: getval");
251 delay(1, "parent: acquire 2");
282 delay(1, "child: acquire 1");
[all …]
/freebsd-10-stable/tools/tools/net80211/wesside/udps/
Dudps.c51 int delay = 10*1000; in own() local
58 delay = (int) ((double)1.0/pps*1000.0*1000.0); in own()
60 if (delay <= 5000) { in own()
66 delay *= dont_sleep_times; in own()
68 delay = (int) (0.90*delay); in own()
78 ts.tv_nsec = delay*1000; in own()
95 if (usleep(delay) == -1) { in own()
/freebsd-10-stable/usr.bin/at/
Dparsetime.c285 plus_or_minus(struct tm *tm, int delay) in plus_or_minus() argument
289 expectplur = (delay != 1 && delay != -1) ? 1 : 0; in plus_or_minus()
293 tm->tm_year += delay; in plus_or_minus()
296 tm->tm_mon += delay; in plus_or_minus()
299 delay *= 7; in plus_or_minus()
301 tm->tm_mday += delay; in plus_or_minus()
304 tm->tm_hour += delay; in plus_or_minus()
307 tm->tm_min += delay; in plus_or_minus()
332 int delay; in plus() local
336 delay = atoi(sc_token); in plus()
[all …]
/freebsd-10-stable/usr.sbin/ppp/
Dcbcp.c68 cbcp->fsm.delay = 0; in cbcp_Init()
185 u_char delay; member
243 if ((char *)&data->delay < end) { in cbcp_data_Show()
244 log_Printf(LogCBCP, " DELAY %d\n", data->delay); in cbcp_data_Show()
268 data.delay = 0; in cbcp_SendReq()
302 data.length = (char *)&data.delay - (char *)&data; in cbcp_SendReq()
309 cbcp_StartTimer(cbcp, cbcp->fsm.delay); in cbcp_SendReq()
318 cbcp->fsm.delay = cbcp->p->dl->cfg.cbcp.delay; in cbcp_Up()
336 cbcp_StartTimer(cbcp, cbcp->fsm.delay * DEF_FSMTRIES); in cbcp_Up()
489 data.delay = cbcp->fsm.delay; in cbcp_SendResponse()
[all …]
/freebsd-10-stable/sys/gnu/dts/arm/
Drk3288-thermal.dtsi14 polling-delay-passive = <1000>; /* milliseconds */
15 polling-delay = <5000>; /* milliseconds */
21 polling-delay-passive = <1000>; /* milliseconds */
22 polling-delay = <5000>; /* milliseconds */
49 polling-delay-passive = <1000>; /* milliseconds */
50 polling-delay = <5000>; /* milliseconds */
/freebsd-10-stable/contrib/ntp/scripts/monitoring/
Dntploopstat29 $delay = 60; # default sampling rate
70 ($1 ne '') && ($delay = $1,1) && next;
72 $delay = shift;
73 ($delay >= 0) || die("$0: bad delay value \"$delay\"\n$usage");
381 &msg("Sleeping " . ($lostpacket ? ($delay / 2) : $delay) . " seconds...\n");
383 sleep($lostpacket ? ($delay / 2) : $delay);
/freebsd-10-stable/contrib/amd/scripts/
Dwait4amd2die.in21 delay=$1
23 delay=3
44 echo "wait4amd2die: delay $delay sec ($i of $count)..."
45 sleep $delay
Dtest-attrcache.in24 delay=1
69 sleep $delay
101 sleep $delay
105 sleep $delay
132 sleep $delay
/freebsd-10-stable/sys/ofed/include/linux/
Dworkqueue.h108 unsigned long delay) in queue_delayed_work() argument
115 } else if (delay != 0) { in queue_delayed_work()
117 callout_reset(&work->timer, delay, linux_delayed_work_fn, work); in queue_delayed_work()
128 unsigned long delay) in schedule_delayed_work() argument
134 return (queue_delayed_work(&wq, dwork, delay)); in schedule_delayed_work()
207 unsigned long delay) in mod_delayed_work() argument
210 queue_delayed_work(wq, dwork, delay); in mod_delayed_work()
/freebsd-10-stable/games/grdc/
Dgrdc.c58 struct timespec delay; in main() local
202 if (delay.tv_nsec > 0) { in main()
203 delay.tv_sec = 0; in main()
204 delay.tv_nsec = 1000000000 - now.tv_nsec; in main()
206 delay.tv_sec = 1; in main()
207 delay.tv_nsec = 0; in main()
209 nanosleep(&delay, NULL); in main()
/freebsd-10-stable/sys/mips/cavium/
Duart_dev_oct16550.c111 static int delay = 0; in oct16550_delay() local
113 if (!delay_changed) return delay; in oct16550_delay()
160 int delay, limit; in oct16550_drain() local
162 delay = oct16550_delay(bas); in oct16550_drain()
172 DELAY(delay); in oct16550_drain()
192 DELAY(delay << 2); in oct16550_drain()
330 static inline void oct16550_wait_txhr_empty (struct uart_bas *bas, int limit, int delay) in oct16550_wait_txhr_empty() argument
334 DELAY(delay); in oct16550_wait_txhr_empty()
340 int delay; in oct16550_putc() local
343 delay = oct16550_delay(bas); in oct16550_putc()
[all …]
/freebsd-10-stable/sys/boot/forth/
Ddelay.4th25 \ $FreeBSD: stable/10/sys/boot/forth/delay.4th 299706 2016-05-14 00:44:23Z pfg $
27 marker task-delay.4th
29 vocabulary delay-processing
30 only forth also delay-processing definitions
32 2 constant delay_default \ Default delay (in seconds)
37 variable delay_tstart \ state variable used for delay timing
38 variable delay_delay \ determined configurable delay duration
42 only forth definitions also delay-processing
/freebsd-10-stable/tools/test/netfibs/
Dreflector.sh68 delay() function
123 delay
129 delay
169 delay
326 delay
382 delay
399 delay
445 delay
460 delay
513 delay
[all …]
/freebsd-10-stable/contrib/tcpdump/
Dprint-igrp.c47 register u_int delay, bandwidth; in igrp_entry_print() local
60 delay = EXTRACT_24BITS(igr->igr_dly); in igrp_entry_print()
62 metric = bandwidth + delay; in igrp_entry_print()
68 10 * delay, bandwidth == 0 ? 0 : 10000000 / bandwidth, in igrp_entry_print()
Dprint-eigrp.c129 u_int8_t delay[4]; member
149 u_int8_t delay[4]; member
168 u_int8_t delay[4]; member
187 u_int8_t delay[4]; member
345 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_int->delay)/100), in eigrp_print()
382 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_ip_ext->delay)/100), in eigrp_print()
414 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_int->delay)/100), in eigrp_print()
445 (EXTRACT_32BITS(&tlv_ptr.eigrp_tlv_at_ext->delay)/100), in eigrp_print()
/freebsd-10-stable/contrib/hyperv/tools/scripts/
Dhyperv_vfattach23 delay=$2
25 if [ $delay -gt 0 ]
30 sleep $delay
/freebsd-10-stable/sys/boot/common/
Disapnp.c101 delay(250); /* Delay 250 usec */ in isapnp_get_serial()
105 delay(250); /* Delay 250 usec */ in isapnp_get_serial()
136 delay(1); in isapnp_get_resource_info()
245 delay(1000); /* Delay 1 msec */ in isapnp_isolation_protocol()
267 delay(1000); /* XXX is it really necessary ? */ in isapnp_isolation_protocol()
/freebsd-10-stable/usr.bin/systat/
Dkeyboard.c62 intvl.tv_sec = delay / 1000000; in keyboard()
63 intvl.tv_usec = delay % 1000000; in keyboard()
104 intvl.tv_sec = delay / 1000000; in keyboard()
105 intvl.tv_usec = delay % 1000000; in keyboard()
/freebsd-10-stable/contrib/netbsd-tests/lib/libcurses/tests/
Dtimeout5 delay 2000
10 # since delay is in effect and we set timeout the following getch should
17 delay 0
/freebsd-10-stable/contrib/ncurses/ncurses/base/
Dlib_getch.c96 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity()
106 rc = _nc_timed_wait(sp, TWAIT_MASK, delay, (int *) 0 EVENTLIST_2nd(evl)); in check_mouse_activity()
386 int delay; in _nc_wgetch() local
391 delay = (sp->_cbreak - 1) * 100; in _nc_wgetch()
393 delay = win->_delay; in _nc_wgetch()
396 if (event_delay >= 0 && delay > event_delay) in _nc_wgetch()
397 delay = event_delay; in _nc_wgetch()
400 TR(TRACE_IEVENT, ("delay is %d milliseconds", delay)); in _nc_wgetch()
402 rc = check_mouse_activity(sp, delay EVENTLIST_2nd(evl)); in _nc_wgetch()
/freebsd-10-stable/contrib/sendmail/contrib/
Dmailprio85 # To get the maximum value from a transaction delay based priority
386 X To get the maximum value from a transaction delay based priority
426 # mailprio_mkdb -- make mail priority database based on delay times
440 # weight the result based on the overall delay.
443 # xdelay would be to compute an approximation of the transaction delay
444 # by sorting by messages-id and delay then computing the difference
445 # between adjacent delay values.
447 # To get the maximum value from a transaction delay based priority
481 X local($to, $delay);
488 X # read delay and xdelay and convert to seconds
[all …]
/freebsd-10-stable/contrib/tcsh/
Dvms.termcap.c340 unsigned long delay = 0; in tputs() local
345 for (delay = 0; *cp && ISDIGIT(*cp) ; cp++) in tputs()
346 delay = delay * 10 + *cp - '0'; in tputs()
350 usleep(delay*100); /* strictly spoken, it should be *1000 */ in tputs()
/freebsd-10-stable/sys/boot/powerpc/ps3/
Dps3net.c125 delay(10); in ps3net_put()
156 delay(1); in ps3net_put()
178 delay(GELIC_POLL_PERIOD); in ps3net_get()
182 delay(200); in ps3net_get()
244 delay(500); in ps3net_init()

12345678910>>...24