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

1234567891011>>

/freebsd-9.3-release/sys/i386/include/xen/
H A Dxen_clock_util.h33 extern void xen_fetch_wallclock(struct timespec *ts);
34 extern void xen_fetch_uptime(struct timespec *ts);
/freebsd-9.3-release/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
79 static inline struct timespec
81 struct timespec x
123 static inline struct timespec
125 struct timespec a,
126 struct timespec b
129 struct timespec
[all...]
H A Drefclock_atom.h10 struct timespec ts;
/freebsd-9.3-release/lib/libc/include/isc/
H A Dplatform.h26 * Define if the OS does not define struct timespec.
31 struct timespec { struct
H A Deventlib.h60 struct timespec, struct timespec));
166 struct timespec evConsTime __P((time_t sec, long nsec));
167 struct timespec evAddTime __P((struct timespec, struct timespec));
168 struct timespec evSubTime __P((struct timespec, struct timespec));
169 struct timespec evNowTim
[all...]
/freebsd-9.3-release/sys/sys/
H A D_timespec.h44 struct timespec { struct
H A Dclock.h63 * to a struct timespec.
76 int clock_ct_to_ts(struct clocktime *, struct timespec *);
77 void clock_ts_to_ct(struct timespec *, struct clocktime *);
93 void timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
94 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
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 Dtimespec.h59 struct timespec it_interval;
60 struct timespec it_value;
H A D_semaphore.h32 struct timespec;
44 int ksem_timedwait(semid_t id, const struct timespec *abstime);
/freebsd-9.3-release/contrib/ntp/tests/libntp/
H A Dtimespecops.c66 const bool timespec_isValid(struct timespec V);
67 struct timespec timespec_init(time_t hi, long lo);
70 bool AssertTimespecClose(const struct timespec m,
71 const struct timespec n,
72 const struct timespec limit);
88 timespec_isValid(struct timespec V)
95 struct timespec
98 struct timespec V;
142 AssertTimespecClose(const struct timespec m, const struct timespec
[all...]
/freebsd-9.3-release/lib/libkse/thread/
H A Dthr_nanosleep.c39 int __nanosleep(const struct timespec *time_to_sleep,
40 struct timespec *time_remaining);
45 _nanosleep(const struct timespec *time_to_sleep,
46 struct timespec *time_remaining)
50 struct timespec ts, ts1;
51 struct timespec remaining_time;
52 struct timespec wakeup_time;
123 __nanosleep(const struct timespec *time_to_sleep,
124 struct timespec *time_remaining)
H A Dthr_aio_suspend.c39 timespec *timeout);
45 timespec *timeout)
H A Dthr_pselect.c42 const struct timespec *timo, const sigset_t *mask);
45 const struct timespec *timo, const sigset_t *mask);
51 const struct timespec *timo, const sigset_t *mask)
/freebsd-9.3-release/include/
H A Dmqueue.h37 struct timespec;
49 unsigned *__restrict, const struct timespec *__restrict);
51 const struct timespec *);
H A Dsemaphore.h49 struct timespec;
58 int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dtimespec.h0 /* timespec -- System time interface
38 struct timespec struct
57 # define TIMESPEC_NS(timespec) ((timespec).ST_MTIM_NSEC)
59 # define TIMESPEC_NS(timespec) 0
68 int gettime (struct timespec *);
69 int settime (struct timespec const *);
/freebsd-9.3-release/sys/fs/cd9660/
H A Dcd9660_node.h48 struct timespec iso_atime; /* time of last access */
49 struct timespec iso_mtime; /* time of last modification */
50 struct timespec iso_ctime; /* time file changed */
107 int cd9660_tstamp_conv7(u_char *, struct timespec *, enum ISO_FTYPE);
108 int cd9660_tstamp_conv17(u_char *, struct timespec *);
/freebsd-9.3-release/sys/fs/smbfs/
H A Dsmbfs_subr.h52 struct timespec;
61 struct timespec fa_atime;
62 struct timespec fa_ctime;
63 struct timespec fa_mtime;
135 struct timespec *mtime, struct smb_cred *scred);
136 int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime,
137 struct timespec *atime, int attr, struct smb_cred *scred);
139 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred);
141 int smbfs_smb_setftime(struct smbnode *np, struct timespec *mtim
[all...]
/freebsd-9.3-release/lib/libc/isc/
H A Dev_timers.c59 static void idle_timeout(evContext, void *, struct timespec, struct timespec);
66 struct timespec lastTouched;
67 struct timespec max_idle;
74 struct timespec
76 struct timespec x;
83 struct timespec
84 evAddTime(struct timespec addend1, struct timespec addend2) {
85 struct timespec
[all...]
/freebsd-9.3-release/contrib/openbsm/bsm/
H A Daudit_filter.h50 typedef void (*audit_filter_record_t)(void *instance, struct timespec *ts,
52 typedef void (*audit_filter_rawrecord_t)(void *instance, struct timespec *ts,
/freebsd-9.3-release/contrib/openbsm/modules/auditfilter_noop/
H A Dauditfilter_noop.c62 AUDIT_FILTER_RECORD(void *instance __unused, struct timespec *ts __unused,
69 AUDIT_FILTER_RAWRECORD(void *instance __unused, struct timespec *ts __unused,
/freebsd-9.3-release/lib/libc/gen/
H A Dsleep.c46 struct timespec time_to_sleep;
47 struct timespec time_remaining;
/freebsd-9.3-release/lib/libc/sys/
H A Dclock_gettime.c36 int __clock_gettime(clockid_t, struct timespec *ts);
41 __clock_gettime(clockid_t clock_id, struct timespec *ts)
/freebsd-9.3-release/sys/dev/mk48txx/
H A Dmk48txxvar.h60 int mk48txx_gettime(device_t dev, struct timespec *ts);
61 int mk48txx_settime(device_t dev, struct timespec *ts);

Completed in 295 milliseconds

1234567891011>>