Searched refs:timespec (Results 1 - 25 of 575) sorted by relevance

1234567891011>>

/freebsd-11-stable/usr.sbin/rtadvd/
H A Dtimer.h38 struct timespec rat_tm;
41 void (*rat_update)(void *, struct timespec *);
48 void (*)(void *, struct timespec *), void *, void *);
49 void rtadvd_set_timer(struct timespec *,
52 struct timespec *rtadvd_check_timer(void);
/freebsd-11-stable/contrib/ntp/include/
H A Dtimespecops.h2 * timespecops.h -- calculations on 'struct timespec' values
10 * Doing basic arithmetic on a 'struct timespec' is not exceedingly
12 * normalised. We consider a timespec normalised when the nanosecond
20 * nanoseconds of a timespec are signed values. IMHO, the easiest way is
63 extern struct timespec normalize_tspec(struct timespec x);
66 static inline struct timespec
68 struct timespec a,
69 struct timespec b
72 struct timespec
[all...]
H A Drefclock_atom.h10 struct timespec ts;
/freebsd-11-stable/lib/libc/sys/
H A Dnanosleep.c44 nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
47 return (((int (*)(const struct timespec *, struct timespec *))
H A Dclock_nanosleep.c45 clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp,
46 struct timespec *rmtp)
49 return (((int (*)(clockid_t, int, const struct timespec *,
50 struct timespec *))
H A Daio_suspend.c45 const struct timespec *timeout)
49 const struct timespec *))
H A Dsigtimedwait.c45 const struct timespec * __restrict t)
49 const struct timespec *))
H A Dkevent.c46 struct kevent *eventlist, int nevents, const struct timespec *timeout)
50 struct kevent *, int, const struct timespec *))
H A Dppoll.c44 ppoll(struct pollfd pfd[], nfds_t nfds, const struct timespec *__restrict
48 return (((int (*)(struct pollfd *, nfds_t, const struct timespec *,
H A Dpselect.c44 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t,
49 const struct timespec *, const sigset_t *))
/freebsd-11-stable/tools/build/
H A Dstat.h41 int futimens(int, const struct timespec *);
42 int utimensat(int, const char *, const struct timespec *, int);
/freebsd-11-stable/sys/sys/
H A Dksem.h54 struct timespec ks_atime;
55 struct timespec ks_mtime;
56 struct timespec ks_ctime;
57 struct timespec ks_birthtime;
H A D_timespec.h44 struct timespec { struct
H A Dtimespec.h59 struct timespec it_interval;
60 struct timespec it_value;
/freebsd-11-stable/lib/libc/gen/
H A Dusleep.c48 struct timespec time_to_sleep;
52 return (((int (*)(const struct timespec *, struct timespec *))
H A Dsleep.c50 struct timespec time_to_sleep;
51 struct timespec time_remaining;
62 if (((int (*)(const struct timespec *, struct timespec *))
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print/
H A Dtst.xlate.d25 struct timespec t;
31 t = *(struct timespec *)`dtrace_zero;
/freebsd-11-stable/lib/libc/include/isc/
H A Dplatform.h26 * Define if the OS does not define struct timespec.
31 struct timespec { struct
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dtime.h38 #define timespec64 timespec
74 static inline struct timespec
75 timespec_sub(struct timespec lhs, struct timespec rhs)
77 struct timespec ts;
87 set_normalized_timespec(struct timespec *ts, time_t sec, int64_t nsec)
95 timespec_to_ns(const struct timespec *ts)
100 static inline struct timespec
103 struct timespec ts;
123 timespec_valid(const struct timespec *t
[all...]
/freebsd-11-stable/tools/tools/netmap/
H A Dctrs.h44 timespec_ge(const struct timespec *a, const struct timespec *b)
56 static __inline struct timespec
59 struct timespec ts = {
67 timespec2val(const struct timespec *a)
77 static __inline struct timespec
78 timespec_add(struct timespec a, struct timespec b)
80 struct timespec ret = { a.tv_sec + b.tv_sec, a.tv_nsec + b.tv_nsec };
88 static __inline struct timespec
[all...]
/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_time.c39 struct timespec tp;
/freebsd-11-stable/include/
H A Dsemaphore.h52 struct timespec;
57 const struct timespec *, struct timespec *);
65 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
/freebsd-11-stable/contrib/mdocml/
H A Dtest-nanosleep.c7 struct timespec timeout;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_sleep.c80 int sleeptest(int (*)(struct timespec *, struct timespec *), bool, bool);
81 int do_nanosleep(struct timespec *, struct timespec *);
82 int do_select(struct timespec *, struct timespec *);
84 int do_poll(struct timespec *, struct timespec *);
86 int do_sleep(struct timespec *, struct timespec *);
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dtimespecops.c2 * timespecops.c -- calculations on 'struct timespec' values
43 struct timespec
45 struct timespec x
87 struct timespec
89 struct timespec a
92 struct timespec c;
113 struct timespec a,
114 struct timespec b
133 struct timespec a
149 /* convert from timespec duratio
[all...]

Completed in 150 milliseconds

1234567891011>>