Home
last modified time | relevance | path

Searched refs:timespecsub (Results 1 – 25 of 79) sorted by relevance

1234

/openbsd/src/regress/sys/sys/tree/rb/
Drbt-test.c38 #ifndef timespecsub
39 #define timespecsub(tsp, usp, vsp) \ macro
184 timespecsub(&end, &start, &diff); in main()
200 timespecsub(&end, &start, &diff); in main()
213 timespecsub(&end, &start, &diff); in main()
222 timespecsub(&end, &start, &diff); in main()
256 timespecsub(&end, &start, &diff); in main()
270 timespecsub(&end, &start, &diff); in main()
289 timespecsub(&end, &start, &diff); in main()
304 timespecsub(&end, &start, &diff); in main()
[all …]
Drb-test.c39 #ifndef timespecsub
40 #define timespecsub(tsp, usp, vsp) \ macro
185 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
201 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
214 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
223 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
257 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
271 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
290 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
305 timespecsub(&end, &start, &diff); in RB_PROTOTYPE()
[all …]
/openbsd/src/regress/lib/libpthread/setsockopt/3a/
Dsetsockopt3a.c39 timespecsub(&t2, &t1, &e); in check_timeout()
46 timespecsub(to, &e, &t1); in check_timeout()
48 timespecsub(&e, to, &t1); in check_timeout()
/openbsd/src/games/tetris/
Dinput.c92 timespecsub(&end, &start, &elapsed); in rwait()
93 timespecsub(limit, &elapsed, limit); in rwait()
/openbsd/src/regress/lib/libpthread/setsockopt/2/
Dsetsockopt2.c40 timespecsub(&t2, &t1, &e); in check_timeout()
47 timespecsub(to, &e, &t1); in check_timeout()
49 timespecsub(&e, to, &t1); in check_timeout()
/openbsd/src/usr.sbin/slaacctl/
Dslaacctl.c221 timespecsub(&now, &cei_ra->uptime, &diff); in show_interface_msg()
277 timespecsub(&now, &cei_addr_proposal->uptime, &diff); in show_interface_msg()
320 timespecsub(&now, &cei_dfr_proposal->uptime, &diff); in show_interface_msg()
358 timespecsub(&now, &cei_rdns_proposal->uptime, &diff); in show_interface_msg()
/openbsd/src/usr.sbin/radiusctl/
Dradiusctl.c714 timespecsub(&now, &upt, &upt); in ipcp_handle_show()
737 timespecsub(&now, &start, &dif); in ipcp_handle_show()
755 timespecsub(&now, &upt, &upt); in ipcp_handle_dump()
758 timespecsub(&now, &start, &dif); in ipcp_handle_dump()
822 timespecsub(&now, &upt, &upt); in ipcp_handle_jsons()
829 timespecsub(&now, &start, &dif); in ipcp_handle_jsons()
854 timespecsub(&now, &upt, &upt); in ipcp_handle_json()
856 timespecsub(&now, &start, &dif); in ipcp_handle_json()
912 timespecsub(&now, &upt, &upt); in ipcp_handle_dumps()
921 timespecsub(&now, &start, &dif); in ipcp_handle_dumps()
/openbsd/src/regress/lib/libpthread/setsockopt/1/
Dsetsockopt1.c39 timespecsub(&t2, &t1, &e); in check_timeout()
46 timespecsub(&e, to, &t1); in check_timeout()
/openbsd/src/usr.sbin/vmd/
Di8253.c140 timespecsub(&now, &i8253_channel[i].ts, &delta); in i8253_do_readback()
188 timespecsub(&now, &i8253_channel[2].ts, &delta); in vcpu_exit_i8253_misc()
257 timespecsub(&now, &i8253_channel[sel].ts, in vcpu_exit_i8253()
/openbsd/src/regress/sys/kern/kqueue/
Dkqueue-timer.c141 timespecsub(&end, &start, &ts); in do_timer()
181 timespecsub(&end, &start, &ts); in do_timer()
304 timespecsub(&end, &start, &ts); in do_reset_timer()
/openbsd/src/regress/sys/kern/nanosleep/
Dnanosleep.c166 timespecsub(&end, &start, &duration); in time_elapsed()
221 timespecsub(&end, &start, &duration); in time_elapsed_with_signal()
/openbsd/src/sys/kern/
Dkern_time.c134 timespecsub(tp, &curcpu()->ci_schedstate.spc_runtime, tp); in clock_gettime()
140 timespecsub(tp, &curcpu()->ci_schedstate.spc_runtime, tp); in clock_gettime()
305 timespecsub(&stop, &start, &elapsed); in sys_nanosleep()
306 timespecsub(&request, &elapsed, &request); in sys_nanosleep()
577 timespecsub(&oldits.it_value, &now, in setitimer()
766 timespecsub(&itp->it_value, decrement, &itp->it_value); in itimerdecr()
Dkern_timeout.c528 timespecsub(&to->to_abstime, &kc->kc_lastscan, &diff); in timeout_bucket()
598 timespecsub(&now, lastscan, &elapsed); in timeout_hardclock_update()
624 timespecsub(&kc->kc_lastscan, &tick_ts, &kc->kc_late); in timeout_hardclock_update()
917 timespecsub(&zero, ts, &tmp); in db_timespec()
968 timespecsub(&to->to_abstime, &kc->kc_lastscan, &remaining); in db_show_timeout()
/openbsd/src/usr.sbin/ntpd/
Dntp_dns.c251 timespecsub(&probe_end, &start, &duration); in probe_root()
254 timespecsub(&probe_end, &probe_start, &duration); in probe_root()
/openbsd/src/usr.bin/openssl/
Dapps_posix.c134 timespecsub(&now, &start, &elapsed); in app_timer_real()
/openbsd/src/lib/libfido2/src/
Dtime.c61 timespecsub(&ts_end, ts_start, &ts_delta); in fido_time_delta()
/openbsd/src/lib/librthread/
Dsynch.h49 timespecsub(abs, &now, &rel); in _twait()
/openbsd/src/lib/libc/thread/
Dsynch.h49 timespecsub(abs, &now, &rel); in _twait()
/openbsd/src/bin/dd/
Dmisc.c60 timespecsub(&now, &st.start, &elapsed); in sig_summary()
/openbsd/src/regress/sys/kern/clock_gettime/
Dmonotonicrelapse.c75 timespecsub(before, after, &relapsed); in report_relapse()
/openbsd/src/regress/lib/libpthread/pthread_cond_timedwait/
Dpthread_cond_timedwait.c105 timespecsub(&endtime, &begtime, &endtime); in main()
/openbsd/src/usr.sbin/sasyncd/
Dtimer.c80 timespecsub(&e->expire, &now, ts); in timer_next_event()
/openbsd/src/usr.bin/ftp/
Dutil.c853 timespecsub(&now, &lastupdate, &wait); in progressmeter()
864 timespecsub(&now, &start, &td); in progressmeter()
933 timespecsub(&now, &start, &td); in ptransfer()
1125 timespecsub(&now, &target, timeout); in timed_connect()
/openbsd/src/lib/libc/rpc/
Dsvc_tcp.c355 timespecsub(&after, &start, &duration); in readtcp()
356 timespecsub(&wait_per_try, &duration, &delta); in readtcp()
/openbsd/src/sbin/isakmpd/
Dtimer.c59 timespecsub(&TAILQ_FIRST(&events)->expiration, &now, in timer_next_event()

1234