Home
last modified time | relevance | path

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

123456

/titanic_41/usr/src/uts/common/sys/
H A Dtimer.h80 int (*clk_clock_settime)(timespec_t *);
81 int (*clk_clock_gettime)(timespec_t *);
82 int (*clk_clock_getres)(timespec_t *);
99 extern clock_t timespectohz(timespec_t *, timespec_t);
100 extern int64_t timespectohz64(timespec_t *);
101 extern int itimerspecfix(timespec_t *);
102 extern void timespecadd(timespec_t *, timespec_t *);
103 extern void timespecsub(timespec_t *, timespec_t *);
104 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 *);
/titanic_41/usr/src/lib/libc/port/sys/
H A Dutimesys.c36 futimens(int fd, const timespec_t times[2]) in futimens()
42 utimensat(int fd, const char *path, const timespec_t times[2], int flag) in utimensat()
52 timespec_t ts[2]; in utime()
53 timespec_t *tsp; in utime()
74 timespec_t ts[2]; in utimes()
75 timespec_t *tsp; in utimes()
97 timespec_t ts[2]; in futimesat()
98 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.c40 hrt2ts(hrtime_t hrt, timespec_t *tsp) in hrt2ts()
71 const timespec_t *abstime, timespec_t *reltime) in abstime_to_reltime()
73 extern int __clock_gettime(clockid_t, timespec_t *); in abstime_to_reltime()
74 timespec_t now; in abstime_to_reltime()
/titanic_41/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 */
/titanic_41/usr/src/uts/common/os/
H A Dclock_realtime.c38 clock_realtime_settime(timespec_t *ts) in clock_realtime_settime()
53 clock_realtime_gettime(timespec_t *ts) in clock_realtime_gettime()
61 clock_realtime_getres(timespec_t *ts) in clock_realtime_getres()
75 timespec_t now, interval2nth; in clock_realtime_fire()
76 timespec_t *val, *interval; in clock_realtime_fire()
149 timespec_t now; in clock_realtime_fire_first()
150 timespec_t *val = &it->it_itime.it_value; in clock_realtime_fire_first()
186 timespec_t now; in clock_realtime_timer_settime()
248 timespec_t now; in clock_realtime_timer_gettime()
H A Dtimers.c757 itimerspecfix(timespec_t *tv) in itimerspecfix()
845 timespecadd(timespec_t *t1, timespec_t *t2) in timespecadd()
853 timespecsub(timespec_t *t1, timespec_t *t2) in timespecsub()
861 timespecfix(timespec_t *t1) in timespecfix()
881 timespec_t ts, now; in hzto()
895 timespectohz(timespec_t *tv, timespec_t now) in timespectohz()
941 timespectohz64(timespec_t *tv) in timespectohz64()
1284 nanosleep(timespec_t *rqtp, timespec_t *rmtp) in nanosleep()
1286 timespec_t rqtime; in nanosleep()
1287 timespec_t rmtime; in nanosleep()
[all …]
/titanic_41/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.c449 lwp_park(timespec_t *timeoutp, id_t lwpid) in lwp_park()
451 timespec_t rqtime; in lwp_park()
452 timespec_t rmtime; in lwp_park()
453 timespec_t now; in lwp_park()
454 timespec_t *rqtp = NULL; in lwp_park()
467 if (copyin(timeoutp, &rqtime, sizeof (timespec_t))) { in lwp_park()
597 error = lwp_park((timespec_t *)arg1, (id_t)arg2); in syslwp_park()
628 error = lwp_park((timespec_t *)arg1, (id_t)arg2); in syslwp_park()
/titanic_41/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()
/titanic_41/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 *);
/titanic_41/usr/src/lib/commpage/common/
H A Dcp_main.c117 __cp_clock_gettime_realtime(comm_page_t *cp, timespec_t *tsp) in __cp_clock_gettime_realtime()
120 timespec_t now; in __cp_clock_gettime_realtime()
172 extern void hrt2ts(hrtime_t, timespec_t *);
175 __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 *);
/titanic_41/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()
/titanic_41/usr/src/lib/libc/inc/
H A Dthr_uberdata.h1229 extern int __nanosleep(const timespec_t *, timespec_t *);
1374 extern int sig_cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
1426 extern int __clock_gettime(clockid_t, timespec_t *);
1427 extern void abstime_to_reltime(clockid_t, const timespec_t *, timespec_t *);
1428 extern void hrt2ts(hrtime_t, timespec_t *);
1444 extern int mutex_lock_internal(mutex_t *, timespec_t *, int);
1449 extern int __cond_timedwait(cond_t *, mutex_t *, const timespec_t *);
1450 extern int __cond_reltimedwait(cond_t *, mutex_t *, const timespec_t *);
1475 extern int ___lwp_mutex_timedlock(mutex_t *, timespec_t *, ulwp_t *);
1478 extern int ___lwp_cond_wait(cond_t *, mutex_t *, timespec_t *, int);
[all …]
/titanic_41/usr/src/cmd/dtrace/test/tst/common/print/
H A Dtst.xlate.d25 timespec_t t;
31 t = *(timespec_t *)`dtrace_zero;
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_subr.h100 timespec_t fa_createtime; /* Note, != ctime */
101 timespec_t fa_atime; /* these 3 are like unix */
102 timespec_t fa_mtime;
103 timespec_t fa_ctime;
/titanic_41/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()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dpoll.c44 timespec_t ts; in poll()
45 timespec_t *tsp; in poll()
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dcond.c29 int _lwp_cond_timedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
30 int _lwp_cond_reltimedwait(lwp_cond_t *, lwp_mutex_t *, timespec_t *);
36 extern void clock2ts(clock_t, timespec_t *);
H A Dclock.c60 clock2ts(clock_t clk, timespec_t *ts) in clock2ts()
73 gethrestime(timespec_t *ts) in gethrestime()

123456