Home
last modified time | relevance | path

Searched refs:timespec_t (Results 1 – 25 of 162) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/sys/
H A Dtimer.h106 int (*clk_clock_settime)(timespec_t *);
107 int (*clk_clock_gettime)(timespec_t *);
108 int (*clk_clock_getres)(timespec_t *);
125 extern clock_t timespectohz(timespec_t *, timespec_t);
126 extern int64_t timespectohz64(timespec_t *);
127 extern int itimerspecfix(timespec_t *);
128 extern void timespecadd(timespec_t *, timespec_t *);
129 extern void timespecsub(timespec_t *, timespec_t *);
130 extern void timespecfix(timespec_t *);
H A Dlwp_timer_impl.h42 timespec_t *lwpt_tsp;
43 timespec_t lwpt_rqtime;
51 extern int lwp_timer_copyin(lwp_timer_t *, timespec_t *);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dmntdata.h41 timespec_t mnte_birth;
42 timespec_t mnte_death;
43 timespec_t mnte_vfs_ctime;
53 timespec_t mnts_time; /* Time of this snapshot. */
54 timespec_t mnts_last_mtime; /* mnttab modification time. */
91 timespec_t mnt_mtime; /* mtime at last normal snapshot */
92 timespec_t mnt_hidden_mtime; /* mtime at last hidden snapshot */
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dutimesys.c40 futimens(int fd, const timespec_t times[2]) in futimens()
46 utimensat(int fd, const char *path, const timespec_t times[2], int flag) in utimensat()
56 timespec_t ts[2]; in utime()
57 timespec_t *tsp; in utime()
78 timespec_t ts[2]; in utimes_impl()
79 timespec_t *tsp; in utimes_impl()
113 timespec_t ts[2]; in futimesat()
114 timespec_t *tsp; in futimesat()
H A Dlwp_cond.c50 _lwp_cond_reltimedwait(cond_t *cv, mutex_t *mp, timespec_t *relts) in _lwp_cond_reltimedwait()
66 _lwp_cond_timedwait(cond_t *cv, mutex_t *mp, timespec_t *absts) in _lwp_cond_timedwait()
69 const timespec_t *, timespec_t *); in _lwp_cond_timedwait()
70 timespec_t tslocal; in _lwp_cond_timedwait()
H A Dtime_util.c39 hrt2ts(hrtime_t hrt, timespec_t *tsp) in hrt2ts()
74 abstime_to_reltime(clockid_t clock_id, const timespec_t *abstime, in abstime_to_reltime()
75 timespec_t *reltime) in abstime_to_reltime()
77 extern int __clock_gettime(clockid_t, timespec_t *); in abstime_to_reltime()
78 timespec_t now; in abstime_to_reltime()
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dutimes.c33 timespec_t testtimes[] = {
62 compare_times(struct stat *st, bool trunc, timespec_t *atim, timespec_t *mtim, in compare_times()
90 compare_filetime(char *path, bool trunc, timespec_t *atim, timespec_t *mtim, in compare_filetime()
102 compare_linktime(char *path, bool trunc, timespec_t *atim, timespec_t *mtim, in compare_linktime()
114 reset(char *path, timespec_t *atim, timespec_t *mtim) in reset()
126 reset_link(char *lpath, timespec_t *atim, timespec_t *mtim) in reset_link()
138 runtest(enum ttype fn, char *dir, timespec_t *atim, timespec_t *mtim) in runtest()
473 runtests(char *dir, timespec_t *atim, timespec_t *mtim) in runtests()
/illumos-gate/usr/src/uts/common/os/
H A Dclock_realtime.c40 clock_realtime_settime(timespec_t *ts) in clock_realtime_settime()
55 clock_realtime_gettime(timespec_t *ts) in clock_realtime_gettime()
63 clock_realtime_getres(timespec_t *ts) in clock_realtime_getres()
77 timespec_t now, interval2nth; in clock_realtime_fire()
78 timespec_t *val, *interval; in clock_realtime_fire()
150 timespec_t now; in clock_realtime_fire_first()
151 timespec_t *val = &it->it_itime.it_value; in clock_realtime_fire_first()
188 timespec_t now; in clock_realtime_timer_settime()
250 timespec_t now; in clock_realtime_timer_gettime()
H A Dclock_thread.c55 clock_thread_settime(timespec_t *ts) in clock_thread_settime()
61 clock_thread_usr_gettime(timespec_t *ts) in clock_thread_usr_gettime()
75 clock_thread_usrsys_gettime(timespec_t *ts) in clock_thread_usrsys_gettime()
119 clock_thread_getres(timespec_t *ts) in clock_thread_getres()
H A Dtimers.c758 itimerspecfix(timespec_t *tv) in itimerspecfix()
846 timespecadd(timespec_t *t1, timespec_t *t2) in timespecadd()
854 timespecsub(timespec_t *t1, timespec_t *t2) in timespecsub()
862 timespecfix(timespec_t *t1) in timespecfix()
882 timespec_t ts, now; in hzto()
896 timespectohz(timespec_t *tv, timespec_t now) in timespectohz()
1309 nanosleep(timespec_t *rqtp, timespec_t *rmtp) in nanosleep()
1311 timespec_t rqtime; in nanosleep()
1312 timespec_t rmtime; in nanosleep()
1313 timespec_t now; in nanosleep()
[all …]
H A Dclock_process.c42 clock_process_settime(timespec_t *ts) in clock_process_settime()
48 clock_process_gettime(timespec_t *ts) in clock_process_gettime()
72 clock_process_getres(timespec_t *ts) in clock_process_getres()
/illumos-gate/usr/src/uts/common/syscall/
H A Dlwp_timer.c58 timespec_t now, delta; in lwp_timer_timeout()
95 lwp_timer_copyin(lwp_timer_t *lwptp, timespec_t *tsp) in lwp_timer_copyin()
97 timespec_t now; in lwp_timer_copyin()
105 if (copyin(tsp, &lwptp->lwpt_rqtime, sizeof (timespec_t))) { in lwp_timer_copyin()
148 timespec_t now, delta; in lwp_timer_enqueue()
198 timespec_t rmtime; in lwp_timer_copyout()
199 timespec_t now; in lwp_timer_copyout()
215 if (copyout(&rmtime, lwptp->lwpt_tsp, sizeof (timespec_t))) in lwp_timer_copyout()
H A Dutime.c117 get_timespec_vattr(timespec_t *tsptr, struct vattr *vattr, int *flags) in get_timespec_vattr()
119 timespec_t ts[2]; in get_timespec_vattr()
120 timespec_t now; in get_timespec_vattr()
172 futimens(int fd, timespec_t *tsptr) in futimens()
185 utimensat(int fd, char *fname, timespec_t *tsptr, int flag) in utimensat()
204 return (futimens((int)arg1, (timespec_t *)arg2)); in utimesys()
207 (timespec_t *)arg3, (int)arg4)); in utimesys()
H A Dsigtimedwait.c93 sigtimedwait(sigset_t *setp, siginfo_t *siginfop, timespec_t *timeoutp) in sigtimedwait()
100 timespec_t sig_timeout; in sigtimedwait()
101 timespec_t *rqtp = NULL; in sigtimedwait()
109 timespec_t now; in sigtimedwait()
H A Dlwpsys.c451 lwp_park(timespec_t *timeoutp, id_t lwpid) in lwp_park()
453 timespec_t rqtime; in lwp_park()
454 timespec_t rmtime; in lwp_park()
455 timespec_t now; in lwp_park()
456 timespec_t *rqtp = NULL; in lwp_park()
469 if (copyin(timeoutp, &rqtime, sizeof (timespec_t))) { in lwp_park()
599 error = lwp_park((timespec_t *)arg1, (id_t)arg2); in syslwp_park()
630 error = lwp_park((timespec_t *)arg1, (id_t)arg2); in syslwp_park()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dclock_timer.c38 extern int __clock_getres(clockid_t, timespec_t *);
39 extern int __clock_gettime(clockid_t, timespec_t *);
40 extern int __clock_settime(clockid_t, const timespec_t *);
64 clock_getres(clockid_t clock_id, timespec_t *res) in clock_getres()
70 clock_gettime(clockid_t clock_id, timespec_t *tp) in clock_gettime()
76 clock_settime(clockid_t clock_id, const timespec_t *tp) in clock_settime()
/illumos-gate/usr/src/head/
H A Dsynch.h94 int _lwp_cond_timedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
95 int _lwp_cond_reltimedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
105 int cond_timedwait(cond_t *, mutex_t *, const timespec_t *);
106 int cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
125 int sema_timedwait(sema_t *, const timespec_t *);
126 int sema_reltimedwait(sema_t *, const timespec_t *);
/illumos-gate/usr/src/lib/commpage/common/
H A Dcp_main.c125 __cp_clock_gettime_realtime(comm_page_t *cp, timespec_t *tsp) in __cp_clock_gettime_realtime()
128 timespec_t now; in __cp_clock_gettime_realtime()
180 extern void hrt2ts(hrtime_t, timespec_t *);
183 __cp_clock_gettime_monotonic(comm_page_t *cp, timespec_t *tsp) in __cp_clock_gettime_monotonic()
H A Dcp_defs.h30 extern int __cp_clock_gettime_realtime(comm_page_t *, timespec_t *);
31 extern int __cp_clock_gettime_monotonic(comm_page_t *, timespec_t *);
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c57 static void parse_datetime(char *, timespec_t *);
58 static void parse_time(char *, timespec_t *);
59 static void parse_timespec(char *, timespec_t *);
81 timespec_t times[2]; in main()
82 timespec_t *tsp; in main()
268 parse_datetime(char *t, timespec_t *ts) in parse_datetime()
388 parse_time(char *t, timespec_t *ts) in parse_time()
449 parse_timespec(char *t, timespec_t *ts) in parse_timespec()
/illumos-gate/usr/src/lib/libc/inc/
H A Dthr_uberdata.h1273 extern int __nanosleep(const timespec_t *, timespec_t *);
1473 extern int __clock_gettime(clockid_t, timespec_t *);
1474 extern void abstime_to_reltime(clockid_t, const timespec_t *, timespec_t *);
1475 extern void hrt2ts(hrtime_t, timespec_t *);
1491 extern int mutex_lock_internal(mutex_t *, timespec_t *, int);
1496 extern int __cond_timedwait(cond_t *, mutex_t *, const timespec_t *);
1525 extern int ___lwp_cond_wait(cond_t *, mutex_t *, timespec_t *, int);
1526 extern int ___lwp_sema_timedwait(lwp_sema_t *, timespec_t *, int);
1527 extern int __lwp_rwlock_rdlock(rwlock_t *, timespec_t *);
1528 extern int __lwp_rwlock_wrlock(rwlock_t *, timespec_t *);
[all …]
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c178 timespec_t ts; in s10_poll()
179 timespec_t *tsp; in s10_poll()
339 timespec_t ts[2]; in s10_utime()
340 timespec_t *tsp; in s10_utime()
362 timespec_t ts[2]; in s10_utimes()
363 timespec_t *tsp; in s10_utimes()
386 timespec_t ts[2]; in s10_futimesat()
387 timespec_t *tsp; in s10_futimesat()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/print/
H A Dtst.xlate.d25 timespec_t t;
31 t = *(timespec_t *)`dtrace_zero;
/illumos-gate/usr/src/lib/libc/i386/sys/
H A D__clock_gettime.c21 extern int __clock_gettime_sys(clockid_t, timespec_t *);
24 __clock_gettime(clockid_t clock_id, timespec_t *tp) in __clock_gettime()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpoll.c44 timespec_t ts; in poll()
45 timespec_t *tsp; in poll()

1234567