Home
last modified time | relevance | path

Searched refs:timespec (Results 1 – 25 of 158) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libresolv2/include/isc/
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 evNowTime __P((void));
170 struct timespec evUTCTime __P((void));
171 struct timespec evLastEventTime __P((evContext));
172 struct timespec evTimeSpec __P((struct timeval));
173 struct timeval evTimeVal __P((struct timespec));
174 int evCmpTime __P((struct timespec, struct timespec));
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c44 static void idle_timeout(evContext, void *, struct timespec, struct timespec);
51 struct timespec lastTouched;
52 struct timespec max_idle;
58 struct timespec
60 struct timespec x; in evConsTime()
67 struct timespec
68 evAddTime(struct timespec addend1, struct timespec addend2) { in evAddTime()
69 struct timespec x; in evAddTime()
80 struct timespec
81 evSubTime(struct timespec minuend, struct timespec subtrahend) { in evSubTime()
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h112 struct timespec st_atim; /* time of last access */
113 struct timespec st_mtim; /* time of last data modification */
114 struct timespec st_ctim; /* time of last file status change */
130 struct timespec st_atim; /* time of last access */
131 struct timespec st_mtim; /* time of last data modification */
132 struct timespec st_ctim; /* time of last file status change */
139 struct timespec st_birthtim; /* time of file creation */
148 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
149 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec));
161 struct timespec st_atim; /* time of last access */
[all …]
H A Dtime.h173 bintime2timespec(const struct bintime *_bt, struct timespec *_ts) in bintime2timespec()
182 timespec2bintime(const struct timespec *_ts, struct bintime *_bt) in timespec2bintime()
207 static __inline struct timespec
210 struct timespec _ts; in sbttots()
218 tstosbt(struct timespec _ts) in tstosbt()
410 void nanouptime(struct timespec *tsp);
423 void nanotime(struct timespec *tsp);
427 void getnanouptime(struct timespec *tsp);
440 void getnanotime(struct timespec *tsp);
H A Dtimespec.h59 struct timespec it_interval;
60 struct timespec it_value;
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty286 'reason': set([('timespec', 'tv_nsec'),
287 ('timespec', 'tv_sec')])},
289 'reason': set([('timespec', 'tv_nsec'),
290 ('timespec', 'tv_sec')])},
292 'reason': set([('timespec', 'tv_nsec'),
293 ('timespec', 'tv_sec')])},
295 'reason': set([('timespec', 'tv_nsec'),
296 ('timespec', 'tv_sec')])},
302 'reason': set([('timespec', 'tv_nsec'),
303 ('timespec', 'tv_sec')])},
[all …]
/illumos-gate/usr/src/head/
H A Dtime.h143 extern int clock_getres(clockid_t, struct timespec *);
144 extern int clock_gettime(clockid_t, struct timespec *);
145 extern int clock_settime(clockid_t, const struct timespec *);
154 extern int nanosleep(const struct timespec *, struct timespec *);
156 const struct timespec *, struct timespec *);
308 extern int timespec_get(struct timespec *, int);
H A Dmqueue.h65 const struct timespec *);
67 const struct timespec *);
71 const struct timespec *_RESTRICT_KYWD);
74 const struct timespec *_RESTRICT_KYWD);
H A Dpthread.h278 const struct timespec *_RESTRICT_KYWD);
280 const struct timespec *_RESTRICT_KYWD);
303 pthread_mutex_t *_RESTRICT_KYWD, const struct timespec *_RESTRICT_KYWD);
305 pthread_mutex_t *_RESTRICT_KYWD, const struct timespec *_RESTRICT_KYWD);
319 const struct timespec *_RESTRICT_KYWD);
321 const struct timespec *_RESTRICT_KYWD);
325 const struct timespec *_RESTRICT_KYWD);
327 const struct timespec *_RESTRICT_KYWD);
H A Dthreads.h76 const struct timespec *_RESTRICT_KYWD);
82 const struct timespec *_RESTRICT_KYWD);
91 extern int thrd_sleep(const struct timespec *, struct timespec *);
H A Dsemaphore.h68 struct timespec;
70 const struct timespec *_RESTRICT_KYWD);
72 const struct timespec *_RESTRICT_KYWD);
H A Daio.h116 const struct timespec *);
119 const struct timespec *);
133 const struct timespec *);
136 const struct timespec *);
H A Dport.h46 int port_get(int, port_event_t *, struct timespec *);
47 int port_getn(int, port_event_t [], uint_t, uint_t *, struct timespec *);
/illumos-gate/usr/src/uts/common/sys/
H A Dtime_impl.h57 typedef struct timespec { /* definition per POSIX.4 */ struct
81 typedef struct timespec timestruc_t; /* definition per SVr4 */ argument
89 #define timestruc timespec /* structure name per SVr4 */
96 struct timespec it_interval; /* timer period */
97 struct timespec it_value; /* timer expiration */
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose.pretty364 'reason': set([('timespec', 'tv_nsec'),
365 ('timespec', 'tv_sec')])},
367 'reason': set([('timespec', 'tv_nsec'),
368 ('timespec', 'tv_sec')])},
370 'reason': set([('timespec', 'tv_nsec'),
371 ('timespec', 'tv_sec')])},
377 'reason': set([('timespec', 'tv_nsec'),
378 ('timespec', 'tv_sec')])},
380 'reason': set([('timespec', 'tv_nsec'),
381 ('timespec', 'tv_sec')])},
[all …]
H A Dimplicit_dependencies_verbose598 'reason': set([('timespec', 'tv_nsec'),
599 ('timespec', 'tv_sec')])},
601 'reason': set([('timespec', 'tv_nsec'),
602 ('timespec', 'tv_sec')])},
604 'reason': set([('timespec', 'tv_nsec'),
605 ('timespec', 'tv_sec')])},
611 'reason': set([('timespec', 'tv_nsec'),
612 ('timespec', 'tv_sec')])},
614 'reason': set([('timespec', 'tv_nsec'),
615 ('timespec', 'tv_sec')])},
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dclock.h68 int clock_ct_to_ts(struct clocktime *, struct timespec *);
69 void clock_ts_to_ct(struct timespec *, struct clocktime *);
78 void timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp);
79 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
/illumos-gate/usr/src/boot/include/
H A Dtime.h169 int clock_getres(clockid_t, struct timespec *);
170 int clock_gettime(clockid_t, struct timespec *);
171 int clock_settime(clockid_t, const struct timespec *);
173 int nanosleep(const struct timespec *, struct timespec *);
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_time.c73 smb_time_NT2local(uint64_t nt_time, struct timespec *tsp) in smb_time_NT2local()
105 smb_time_local2NT(struct timespec *tsp, uint64_t *nt_time) in smb_time_local2NT()
126 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds) in smb_time_local2server()
135 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp) in smb_time_server2local()
H A Dsmb_subr.h201 struct timespec *mtime, struct smb_cred *scrp);
250 void smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds);
251 void smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp);
252 void smb_time_NT2local(uint64_t nsec, struct timespec *tsp);
253 void smb_time_local2NT(struct timespec *tsp, uint64_t *nsec);
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dtimespec_get.c25 timespec_cmp(const struct timespec *ls, const struct timespec *rs) in timespec_cmp()
44 struct timespec ts, pre, post; in main()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dc11_thr.c91 const struct timespec *_RESTRICT_KYWD ts) in cnd_timedwait()
159 const struct timespec *_RESTRICT_KYWD abstime) in mtx_timedlock()
251 thrd_sleep(const struct timespec *rqtp, struct timespec *rmtp) in thrd_sleep()
/illumos-gate/usr/src/test/os-tests/tests/
H A Dclock_gettime.c87 struct timespec ts0, ts1; in clock_test()
168 struct timespec ts; in clock_test_cputime_thr()
198 struct timespec ts; in clock_test_thread_clock()
251 struct timespec usr, sys; in clock_test_thread_sys()
284 struct timespec thr, proc; in clock_test_thread_proc()
H A Dfifo-tvnsec.c52 static struct timespec now;
62 time_gt(const struct timespec *check, const struct timespec *base) in time_gt()
125 struct timespec update[2]; in check_fifos()
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.c43 (void) __cp_clock_gettime_realtime(cp, (struct timespec *)tv); in gettimeofday()
46 (struct timespec *)tv); in gettimeofday()

1234567