Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/freebsd-14.2/contrib/ntp/include/
H A Dtimevalops.h137 struct timeval x in normalize_tval()
182 struct timeval b in add_tval()
213 struct timeval b in sub_tval()
243 struct timeval a in neg_tval()
257 struct timeval a in abs_tval()
282 struct timeval b in cmp_tval()
302 struct timeval b in cmp_tval_denorm()
314 struct timeval a in test_tval()
332 struct timeval a in test_tval_denorm()
341 struct timeval x in tvaltoa()
[all …]
H A Dl_stdlib.h31 struct timeval;
32 extern int adjtime (struct timeval *, struct timeval *);
111 extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
196 extern int gettimeofday (struct timeval *);
197 extern int settimeofday (struct timeval *);
200 extern int gettimeofday (struct timeval *, struct timezone *);
201 extern int settimeofday (struct timeval *, void *);
/freebsd-14.2/sys/nlm/
H A Dnlm_prot.h317 … clnt_stat nlm_test_res_1(nlm_testres *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
320 …enum clnt_stat nlm_lock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
323 …um clnt_stat nlm_cancel_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
326 …um clnt_stat nlm_unlock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
329 …m clnt_stat nlm_granted_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
344 …m clnt_stat nlm_free_all_3(nlm_notify *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
383 …um clnt_stat nlm4_lock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
386 … clnt_stat nlm4_cancel_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
389 … clnt_stat nlm4_unlock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
392 …clnt_stat nlm4_granted_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
[all …]
H A Dnlm_prot_clnt.c19 … nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_sm_notify_0()
37 …lm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_1()
118 …_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_test_res_1()
127 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_res_1()
136 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_cancel_res_1()
145 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_unlock_res_1()
154 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_granted_res_1()
190 …l_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_free_all_3()
298 …res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm4_lock_res_4()
307 …res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm4_cancel_res_4()
[all …]
/freebsd-14.2/contrib/unbound/util/
H A Dtimeval_func.h50 void timeval_subtract(struct timeval* d, const struct timeval* end, const struct timeval* start);
51 void timeval_add(struct timeval* d, const struct timeval* add);
52 void timeval_divide(struct timeval* avg, const struct timeval* sum, long long d);
53 int timeval_smaller(const struct timeval* x, const struct timeval* y);
H A Dtimeval_func.c47 timeval_subtract(struct timeval* d, const struct timeval* end, const struct timeval* start) in timeval_subtract()
62 timeval_add(struct timeval* d, const struct timeval* add) in timeval_add()
76 timeval_divide(struct timeval* avg, const struct timeval* sum, long long d) in timeval_divide()
101 timeval_smaller(const struct timeval* x, const struct timeval* y) in timeval_smaller()
H A Dmini_event.h129 struct timeval* time_tv;
148 struct timeval ev_timeout;
158 void *event_init(time_t* time_secs, struct timeval* time_tv);
166 int event_base_loopexit(struct event_base *, struct timeval *);
174 int event_add(struct event *, struct timeval *);
186 int signal_add(struct event *, struct timeval *);
H A Dwinsock_event.h149 struct timeval* time_tv;
183 struct timeval ev_timeout;
212 void *event_init(time_t* time_secs, struct timeval* time_tv);
220 int event_base_loopexit(struct event_base *, struct timeval *);
229 int event_add(struct event *, struct timeval *);
239 int signal_add(struct event *, struct timeval *);
/freebsd-14.2/usr.bin/ktrace/
H A Dsubr.c50 void timevaladd(struct timeval *, struct timeval *);
51 void timevalsub(struct timeval *, struct timeval *);
52 void timevalfix(struct timeval *);
103 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
111 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
119 timevalfix(struct timeval *t1) in timevalfix()
/freebsd-14.2/contrib/ldns/ldns/
H A Dnet.h42 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
53 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
66 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
77 …nd2(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
90 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
103 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
135 int ldns_tcp_connect2(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
146 int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
154 int ldns_udp_connect2(const struct sockaddr_storage *to, struct timeval timeout);
164 int ldns_udp_connect(const struct sockaddr_storage *to, struct timeval timeout);
[all …]
/freebsd-14.2/sys/sys/
H A Dtime.h357 static __inline struct timeval
360 struct timeval _tv; in sbttotv()
368 tvtosbt(struct timeval _tv) in tvtosbt()
542 void microuptime(struct timeval *tvp);
555 void microtime(struct timeval *tvp);
579 int itimerfix(struct timeval *tv);
582 int ratecheck(struct timeval *, const struct timeval *);
583 void timevaladd(struct timeval *t1, const struct timeval *t2);
584 void timevalsub(struct timeval *t1, const struct timeval *t2);
585 int tvtohz(struct timeval *tv);
[all …]
H A Dtimeffc.h208 void ffclock_microtime(struct timeval *tvp);
212 void ffclock_getmicrotime(struct timeval *tvp);
216 void ffclock_microuptime(struct timeval *tvp);
220 void ffclock_getmicrouptime(struct timeval *tvp);
238 void fbclock_microtime(struct timeval *tvp);
242 void fbclock_getmicrotime(struct timeval *tvp);
246 void fbclock_microuptime(struct timeval *tvp);
250 void fbclock_getmicrouptime(struct timeval *tvp);
279 microtime_fromclock(struct timeval *tvp, int whichclock) in microtime_fromclock()
309 getmicrotime_fromclock(struct timeval *tvp, int whichclock) in getmicrotime_fromclock()
[all …]
/freebsd-14.2/usr.sbin/bluetooth/btpand/
H A Devent.c58 static void tv_add(struct timeval *, struct timeval const *);
59 static void tv_sub(struct timeval *, struct timeval const *);
60 static int tv_cmp(struct timeval const *, struct timeval const *);
90 struct timeval now, timeout, t; in __event_dispatch()
222 __event_add(struct event *ev, const struct timeval *timeout) in __event_add()
271 tv_add(struct timeval *a, struct timeval const *b) in tv_add()
283 tv_sub(struct timeval *a, struct timeval const *b) in tv_sub()
295 tv_cmp(struct timeval const *a, struct timeval const *b) in tv_cmp()
/freebsd-14.2/sys/netinet/
H A Dtcp_hpts.h169 tcp_tv_to_hptstick(const struct timeval *sv) in tcp_tv_to_hptstick()
175 tcp_tv_to_usectick(const struct timeval *sv) in tcp_tv_to_usectick()
181 tcp_tv_to_mssectick(const struct timeval *sv) in tcp_tv_to_mssectick()
187 tcp_tv_to_lusectick(const struct timeval *sv) in tcp_tv_to_lusectick()
203 tcp_gethptstick(struct timeval *sv) in tcp_gethptstick()
205 struct timeval tv; in tcp_gethptstick()
214 tcp_get_u64_usecs(struct timeval *tv) in tcp_get_u64_usecs()
216 struct timeval tvd; in tcp_get_u64_usecs()
225 tcp_get_usecs(struct timeval *tv) in tcp_get_usecs()
227 struct timeval tvd; in tcp_get_usecs()
/freebsd-14.2/contrib/ntp/libntp/
H A Dadjtime.c24 int adjtime(struct timeval *delta, struct timeval *olddelta);
26 int adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime()
163 register struct timeval *delta, in adjtime()
164 register struct timeval *olddelta in adjtime()
167 struct timeval newdelta; in adjtime()
211 register struct timeval *delta, in _adjtime()
212 register struct timeval *olddelta in _adjtime()
279 adjtime (struct timeval *delta, struct timeval *olddelta) in adjtime()
/freebsd-14.2/crypto/heimdal/lib/roken/
H A Dtimeval.c47 timevalfix(struct timeval *t1) in timevalfix()
64 timevaladd(struct timeval *t1, const struct timeval *t2) in timevaladd()
76 timevalsub(struct timeval *t1, const struct timeval *t2) in timevalsub()
/freebsd-14.2/tools/tools/netmap/
H A Dctrs.h12 struct timeval t;
56 timeval2spec(const struct timeval *a) in timeval2spec()
65 static __inline struct timeval
68 struct timeval tv = { in timespec2val()
99 wait_for_next_report(struct timeval *prev, struct timeval *cur, in wait_for_next_report()
102 struct timeval delta; in wait_for_next_report()
/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
58 void evutil_usleep_(const struct timeval *tv);
86 struct timeval adjust_monotonic_clock;
87 struct timeval last_time;
94 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
/freebsd-14.2/contrib/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
58 void evutil_usleep_(const struct timeval *tv);
86 struct timeval adjust_monotonic_clock;
87 struct timeval last_time;
94 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c113 struct timeval tv; in basic_thread()
149 struct timeval tv; in sigchld_cb()
171 struct timeval tv; in thread_basic()
262 struct timeval delay;
263 struct timeval alerted_at;
297 struct timeval launched_at; in thread_conditions_simple()
395 struct timeval tv; in SLEEP_MS()
458 struct timeval elapsed; in thread_deferred_cb_skew()
499 static struct timeval times[5];
512 struct timeval tv = {0,0}; in register_events_subthread()
[all …]
/freebsd-14.2/contrib/libevent/test/
H A Dregress_thread.c113 struct timeval tv; in basic_thread()
149 struct timeval tv; in sigchld_cb()
171 struct timeval tv; in thread_basic()
262 struct timeval delay;
263 struct timeval alerted_at;
297 struct timeval launched_at; in thread_conditions_simple()
395 struct timeval tv; in SLEEP_MS()
458 struct timeval elapsed; in thread_deferred_cb_skew()
499 static struct timeval times[5];
512 struct timeval tv = {0,0}; in register_events_subthread()
[all …]
/freebsd-14.2/usr.sbin/nscd/
H A Dcachelib.h71 void (*get_time_func)(struct timeval *);
94 struct timeval max_lifetime; /* if 0 then no check is made */
106 struct timeval max_lifetime; /* maximum elements lifetime */
148 void (*get_time_func)(struct timeval *);
203 struct timeval creation_time;
204 struct timeval last_request_time;
206 void (*get_time_func)(struct timeval *);
/freebsd-14.2/contrib/unbound/libunbound/
H A Dunbound-event.h82 struct timeval;
95 int (*loopexit)(struct ub_event_base*, struct timeval*);
138 int (*add)(struct ub_event*, struct timeval*);
143 void (*cb)(int, short, void*), void* arg, struct timeval*);
147 int (*add_signal)(struct ub_event*, struct timeval*);
/freebsd-14.2/sys/dev/speaker/
H A Dspkr.c237 int sustain, timeval, tempo; in playstring() local
288 GETNUM(cp, timeval); in playstring()
289 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
290 timeval = value; in playstring()
307 playtone(pitch, timeval, sustain); in playstring()
360 GETNUM(cp, timeval); in playstring()
361 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
362 timeval = value; in playstring()
367 playtone(-1, timeval, sustain); in playstring()
/freebsd-14.2/contrib/pf/libevent/
H A Devent.c148 gettime(struct timeval *tp) in gettime()
348 event_loopexit(struct timeval *tv) in event_loopexit()
374 struct timeval tv; in event_base_loop()
404 struct timeval off; in event_base_loop()
469 struct timeval etv; in event_once()
565 struct timeval now, res; in event_pending()
592 event_add(struct event *ev, struct timeval *tv) in event_add()
609 struct timeval now; in event_add()
716 struct timeval dflt = TIMEOUT_DEFAULT; in timeout_next()
718 struct timeval now; in timeout_next()
[all …]

12345678910>>...46