| /openbsd/src/regress/sys/sys/tree/rb/ |
| D | rbt-test.c | 38 #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 …]
|
| D | rb-test.c | 39 #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/ |
| D | setsockopt3a.c | 39 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/ |
| D | input.c | 92 timespecsub(&end, &start, &elapsed); in rwait() 93 timespecsub(limit, &elapsed, limit); in rwait()
|
| /openbsd/src/regress/lib/libpthread/setsockopt/2/ |
| D | setsockopt2.c | 40 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/ |
| D | slaacctl.c | 221 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/ |
| D | radiusctl.c | 714 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/ |
| D | setsockopt1.c | 39 timespecsub(&t2, &t1, &e); in check_timeout() 46 timespecsub(&e, to, &t1); in check_timeout()
|
| /openbsd/src/usr.sbin/vmd/ |
| D | i8253.c | 140 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/ |
| D | kqueue-timer.c | 141 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/ |
| D | nanosleep.c | 166 timespecsub(&end, &start, &duration); in time_elapsed() 221 timespecsub(&end, &start, &duration); in time_elapsed_with_signal()
|
| /openbsd/src/sys/kern/ |
| D | kern_time.c | 134 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()
|
| D | kern_timeout.c | 528 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/ |
| D | ntp_dns.c | 251 timespecsub(&probe_end, &start, &duration); in probe_root() 254 timespecsub(&probe_end, &probe_start, &duration); in probe_root()
|
| /openbsd/src/usr.bin/openssl/ |
| D | apps_posix.c | 134 timespecsub(&now, &start, &elapsed); in app_timer_real()
|
| /openbsd/src/lib/libfido2/src/ |
| D | time.c | 61 timespecsub(&ts_end, ts_start, &ts_delta); in fido_time_delta()
|
| /openbsd/src/lib/librthread/ |
| D | synch.h | 49 timespecsub(abs, &now, &rel); in _twait()
|
| /openbsd/src/lib/libc/thread/ |
| D | synch.h | 49 timespecsub(abs, &now, &rel); in _twait()
|
| /openbsd/src/bin/dd/ |
| D | misc.c | 60 timespecsub(&now, &st.start, &elapsed); in sig_summary()
|
| /openbsd/src/regress/sys/kern/clock_gettime/ |
| D | monotonicrelapse.c | 75 timespecsub(before, after, &relapsed); in report_relapse()
|
| /openbsd/src/regress/lib/libpthread/pthread_cond_timedwait/ |
| D | pthread_cond_timedwait.c | 105 timespecsub(&endtime, &begtime, &endtime); in main()
|
| /openbsd/src/usr.sbin/sasyncd/ |
| D | timer.c | 80 timespecsub(&e->expire, &now, ts); in timer_next_event()
|
| /openbsd/src/usr.bin/ftp/ |
| D | util.c | 853 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/ |
| D | svc_tcp.c | 355 timespecsub(&after, &start, &duration); in readtcp() 356 timespecsub(&wait_per_try, &duration, &delta); in readtcp()
|
| /openbsd/src/sbin/isakmpd/ |
| D | timer.c | 59 timespecsub(&TAILQ_FIRST(&events)->expiration, &now, in timer_next_event()
|