Home
last modified time | relevance | path

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

12345678910>>...45

/freebsd-13.1/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-13.1/sys/nlm/
H A Dnlm_prot.h318 … clnt_stat nlm_test_res_1(nlm_testres *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
321 …enum clnt_stat nlm_lock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
324 …um clnt_stat nlm_cancel_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
327 …um clnt_stat nlm_unlock_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
330 …m clnt_stat nlm_granted_res_1(nlm_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
345 …m clnt_stat nlm_free_all_3(nlm_notify *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
384 …um clnt_stat nlm4_lock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
387 … clnt_stat nlm4_cancel_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
390 … clnt_stat nlm4_unlock_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
393 …clnt_stat nlm4_granted_res_4(nlm4_res *, void *, CLIENT *, struct rpc_callextra *, struct timeval);
[all …]
H A Dnlm_prot_clnt.c21 … nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_sm_notify_0()
39 …lm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_1()
120 …_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_test_res_1()
129 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_lock_res_1()
138 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_cancel_res_1()
147 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_unlock_res_1()
156 …_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_granted_res_1()
192 …l_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm_free_all_3()
300 …res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm4_lock_res_4()
309 …res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) in nlm4_cancel_res_4()
[all …]
/freebsd-13.1/usr.bin/ktrace/
H A Dsubr.c52 void timevaladd(struct timeval *, struct timeval *);
53 void timevalsub(struct timeval *, struct timeval *);
54 void timevalfix(struct timeval *);
105 timevaladd(struct timeval *t1, struct timeval *t2) in timevaladd()
113 timevalsub(struct timeval *t1, struct timeval *t2) in timevalsub()
121 timevalfix(struct timeval *t1) in timevalfix()
/freebsd-13.1/sys/sys/
H A Dtime.h344 static __inline struct timeval
347 struct timeval _tv; in sbttotv()
355 tvtosbt(struct timeval _tv) in tvtosbt()
526 void microuptime(struct timeval *tvp);
539 void microtime(struct timeval *tvp);
563 int itimerfix(struct timeval *tv);
565 int ratecheck(struct timeval *, const struct timeval *);
566 void timevaladd(struct timeval *t1, const struct timeval *t2);
567 void timevalsub(struct timeval *t1, const struct timeval *t2);
568 int tvtohz(struct timeval *tv);
[all …]
H A Dtimeffc.h210 void ffclock_microtime(struct timeval *tvp);
214 void ffclock_getmicrotime(struct timeval *tvp);
218 void ffclock_microuptime(struct timeval *tvp);
222 void ffclock_getmicrouptime(struct timeval *tvp);
240 void fbclock_microtime(struct timeval *tvp);
244 void fbclock_getmicrotime(struct timeval *tvp);
248 void fbclock_microuptime(struct timeval *tvp);
252 void fbclock_getmicrouptime(struct timeval *tvp);
281 microtime_fromclock(struct timeval *tvp, int whichclock) in microtime_fromclock()
311 getmicrotime_fromclock(struct timeval *tvp, int whichclock) in getmicrotime_fromclock()
[all …]
H A Dresourcevar.h70 struct timeval p_start; /* (b) Starting time. */
118 void calccru(struct proc *p, struct timeval *up, struct timeval *sp);
119 void calcru(struct proc *p, struct timeval *up, struct timeval *sp);
159 void rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up,
160 struct timeval *sp);
/freebsd-13.1/usr.sbin/bluetooth/btpand/
H A Devent.c59 static void tv_add(struct timeval *, struct timeval const *);
60 static void tv_sub(struct timeval *, struct timeval const *);
61 static int tv_cmp(struct timeval const *, struct timeval const *);
91 struct timeval now, timeout, t; in __event_dispatch()
223 __event_add(struct event *ev, const struct timeval *timeout) in __event_add()
272 tv_add(struct timeval *a, struct timeval const *b) in tv_add()
284 tv_sub(struct timeval *a, struct timeval const *b) in tv_sub()
296 tv_cmp(struct timeval const *a, struct timeval const *b) in tv_cmp()
/freebsd-13.1/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-13.1/contrib/ldns/ldns/
H A Dnet.h42 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
53 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
64 …end(ldns_buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
77 …buffer *qbin, const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout, size_t *…
109 int ldns_tcp_connect(const struct sockaddr_storage *to, socklen_t tolen, struct timeval timeout);
117 int ldns_udp_connect(const struct sockaddr_storage *to, struct timeval timeout);
150 uint8_t *ldns_tcp_read_wire_timeout(int sockfd, size_t *size, struct timeval timeout);
/freebsd-13.1/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-13.1/tools/tools/netmap/
H A Dctrs.h13 struct timeval t;
57 timeval2spec(const struct timeval *a) in timeval2spec()
66 static __inline struct timeval
69 struct timeval tv = { in timespec2val()
100 wait_for_next_report(struct timeval *prev, struct timeval *cur, in wait_for_next_report()
103 struct timeval delta; in wait_for_next_report()
/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
57 void evutil_usleep_(const struct timeval *tv);
85 struct timeval adjust_monotonic_clock;
86 struct timeval last_time;
91 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
H A Devutil_time.c62 evutil_gettimeofday(struct timeval *tv, struct timezone *tz) in evutil_gettimeofday()
103 evutil_tv_to_msec_(const struct timeval *tv) in evutil_tv_to_msec_()
116 evutil_usleep_(const struct timeval *tv) in evutil_usleep_()
149 struct timeval *tv) in adjust_monotonic_time()
155 struct timeval adjust; in adjust_monotonic_time()
207 struct timeval *tp) in evutil_gettime_monotonic()
266 struct timeval *tp) in evutil_gettime_monotonic_()
322 struct timeval *tp) in evutil_gettime_monotonic_()
470 struct timeval *tp) in evutil_gettime_monotonic_()
530 struct timeval *tp) in evutil_gettime_monotonic_()
/freebsd-13.1/contrib/libevent/
H A Dtime-internal.h56 long evutil_tv_to_msec_(const struct timeval *tv);
57 void evutil_usleep_(const struct timeval *tv);
85 struct timeval adjust_monotonic_clock;
86 struct timeval last_time;
91 int evutil_gettime_monotonic_(struct evutil_monotonic_timer *mt, struct timeval *tv);
/freebsd-13.1/contrib/unbound/util/
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-13.1/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-13.1/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-13.1/usr.sbin/nscd/
H A Dcachelib.h73 void (*get_time_func)(struct timeval *);
96 struct timeval max_lifetime; /* if 0 then no check is made */
108 struct timeval max_lifetime; /* maximum elements lifetime */
150 void (*get_time_func)(struct timeval *);
205 struct timeval creation_time;
206 struct timeval last_request_time;
208 void (*get_time_func)(struct timeval *);
/freebsd-13.1/sys/netinet/
H A Dtcp_hpts.h93 struct timeval p_mysleep; /* Our min sleep time */
262 tcp_tv_to_hptstick(const struct timeval *sv) in tcp_tv_to_hptstick()
268 tcp_tv_to_usectick(const struct timeval *sv) in tcp_tv_to_usectick()
274 tcp_tv_to_mssectick(const struct timeval *sv) in tcp_tv_to_mssectick()
280 tcp_tv_to_lusectick(const struct timeval *sv) in tcp_tv_to_lusectick()
294 tcp_gethptstick(struct timeval *sv) in tcp_gethptstick()
296 struct timeval tv; in tcp_gethptstick()
305 tcp_get_usecs(struct timeval *tv) in tcp_get_usecs()
307 struct timeval tvd; in tcp_get_usecs()
/freebsd-13.1/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-13.1/sys/dev/speaker/
H A Dspkr.c239 int sustain, timeval, tempo; in playstring() local
290 GETNUM(cp, timeval); in playstring()
291 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
292 timeval = value; in playstring()
309 playtone(pitch, timeval, sustain); in playstring()
362 GETNUM(cp, timeval); in playstring()
363 if (timeval <= 0 || timeval > MIN_VALUE) in playstring()
364 timeval = value; in playstring()
369 playtone(-1, timeval, sustain); in playstring()
/freebsd-13.1/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>>...45