/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | eventlib.h | 60 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 D | ev_timers.c | 44 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/test/libc-tests/tests/clocklock/ |
H A D | clock_lock.h | 56 extern const struct timespec clock_to_100ms; 57 extern const struct timespec clock_to_invns; 58 extern const struct timespec clock_to_invnegs; 59 extern const struct timespec clock_to_invnegns; 61 extern void clock_rel_to_abs(clockid_t, const struct timespec *restrict, 62 struct timespec *restrict); 63 extern bool clock_abs_after(clockid_t, const struct timespec *); 64 extern bool clock_rel_after(clockid_t, const struct timespec *, 65 const struct timespec *);
|
H A D | clock_lock.c | 45 const struct timespec clock_to_100ms = { 0, MSEC2NSEC(100) }; 52 const struct timespec clock_to_invns = { 0, NANOSEC * 2 }; 53 const struct timespec clock_to_invnegs = { -12345, 0 }; 54 const struct timespec clock_to_invnegns = { 100, -0x23 }; 57 clock_rel_to_abs(clockid_t clock, const struct timespec *restrict rel, in clock_rel_to_abs() 58 struct timespec *restrict abs) in clock_rel_to_abs() 74 clock_abs_after(clockid_t clock, const struct timespec *to) in clock_abs_after() 76 struct timespec now; in clock_abs_after() 90 clock_rel_after(clockid_t clock, const struct timespec *start, in clock_rel_after() 91 const struct timespec *to) in clock_rel_after() [all …]
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | stat.h | 112 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 D | time.h | 173 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);
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/ |
H A D | implicit_dependencies_verbose.pretty | 286 '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 D | pthread.h | 278 clockid_t, const struct timespec *_RESTRICT_KYWD); 280 const struct timespec *_RESTRICT_KYWD); 282 clockid_t, const struct timespec *_RESTRICT_KYWD); 284 const struct timespec *_RESTRICT_KYWD); 308 const struct timespec *_RESTRICT_KYWD); 310 pthread_mutex_t *_RESTRICT_KYWD, const struct timespec *_RESTRICT_KYWD); 313 const struct timespec *_RESTRICT_KYWD); 315 pthread_mutex_t *_RESTRICT_KYWD, const struct timespec *_RESTRICT_KYWD); 329 clockid_t, const struct timespec *_RESTRICT_KYWD); 331 const struct timespec *_RESTRICT_KYWD); [all …]
|
H A D | time.h | 143 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 *); 312 extern int timespec_get(struct timespec *, int); 316 extern int timespec_getres(struct timespec *, int);
|
H A D | semaphore.h | 53 struct timespec; 79 const struct timespec *_RESTRICT_KYWD); 81 const struct timespec *_RESTRICT_KYWD); 86 const struct timespec *_RESTRICT_KYWD); 88 const struct timespec *_RESTRICT_KYWD);
|
H A D | mqueue.h | 65 const struct timespec *); 67 const struct timespec *); 71 const struct timespec *_RESTRICT_KYWD); 74 const struct timespec *_RESTRICT_KYWD);
|
H A D | threads.h | 76 const struct timespec *_RESTRICT_KYWD); 82 const struct timespec *_RESTRICT_KYWD); 91 extern int thrd_sleep(const struct timespec *, struct timespec *);
|
H A D | aio.h | 116 const struct timespec *); 119 const struct timespec *); 133 const struct timespec *); 136 const struct timespec *);
|
H A D | port.h | 46 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/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/ |
H A D | implicit_dependencies_verbose.pretty | 364 '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 D | implicit_dependencies_verbose | 598 '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/uts/common/sys/ |
H A D | time_impl.h | 57 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/compat/bhyve/sys/ |
H A D | clock.h | 68 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 D | time.h | 169 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 D | smb_time.c | 73 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 D | smb_subr.h | 209 struct timespec *mtime, struct smb_cred *scrp); 258 void smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds); 259 void smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp); 260 void smb_time_NT2local(uint64_t nsec, struct timespec *tsp); 261 void smb_time_local2NT(struct timespec *tsp, uint64_t *nsec);
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | timespec_get.c | 45 timespec_cmp(const struct timespec *ls, const struct timespec *rs) in timespec_cmp() 65 struct timespec ts, pre, post; in timespec_test_one() 118 struct timespec ts; in main()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 91 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 D | clock_gettime.c | 87 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 D | fifo-tvnsec.c | 52 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()
|