/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | clock_timer.c | 38 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 *); 41 extern int __timer_create(clockid_t, struct sigevent *, timer_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() 82 timer_create(clockid_t clock_id, struct sigevent *sigevp, timer_t *timerid) in timer_create()
|
H A D | sem.c | 301 sem_clockwait(sem_t *sem, clockid_t clock, const timespec_t *abstime) in sem_clockwait() 324 sem_relclockwait_np(sem_t *sem, clockid_t clock, const timespec_t *reltime) in sem_relclockwait_np()
|
/illumos-gate/usr/src/boot/include/ |
H A D | time.h | 79 typedef __clockid_t clockid_t; typedef 157 int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict); 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 *); 177 int clock_getcpuclockid(pid_t, clockid_t *);
|
/illumos-gate/usr/src/head/ |
H A D | pthread.h | 278 clockid_t, const struct timespec *_RESTRICT_KYWD); 282 clockid_t, const struct timespec *_RESTRICT_KYWD); 293 extern int pthread_condattr_setclock(pthread_condattr_t *, clockid_t); 295 clockid_t *_RESTRICT_KYWD); 307 pthread_mutex_t *_RESTRICT_KYWD, clockid_t, 312 pthread_mutex_t *_RESTRICT_KYWD, clockid_t, 329 clockid_t, const struct timespec *_RESTRICT_KYWD); 333 clockid_t, const struct timespec *_RESTRICT_KYWD); 339 clockid_t, const struct timespec *_RESTRICT_KYWD); 343 clockid_t, const struct timespec *_RESTRICT_KYWD);
|
H A D | time.h | 76 typedef int clockid_t; typedef 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 *); 146 extern int timer_create(clockid_t, struct sigevent *_RESTRICT_KYWD, 155 extern int clock_nanosleep(clockid_t, int,
|
H A D | semaphore.h | 85 int sem_clockwait(sem_t *_RESTRICT_KYWD, clockid_t, 87 int sem_relclockwait_np(sem_t *_RESTRICT_KYWD, clockid_t,
|
/illumos-gate/usr/src/test/libc-tests/tests/clocklock/ |
H A D | clock_lock.h | 61 extern void clock_rel_to_abs(clockid_t, const 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 *,
|
H A D | clock_lock.c | 57 clock_rel_to_abs(clockid_t clock, const struct timespec *restrict rel, in clock_rel_to_abs() 74 clock_abs_after(clockid_t clock, const struct timespec *to) in clock_abs_after() 90 clock_rel_after(clockid_t clock, const struct timespec *start, in clock_rel_after()
|
H A D | clock_lock_sem.c | 83 const clockid_t clocks[] = { 0x7777, INT32_MAX, 0x23, CLOCK_VIRTUAL, in clock_test_sem_invalid_source() 87 clockid_t c = clocks[i]; in clock_test_sem_invalid_source()
|
H A D | clock_lock_mutex.c | 94 const clockid_t clocks[] = { 0x7777, INT32_MAX, 0x23, CLOCK_VIRTUAL, in clock_test_mutex_invalid_source() 99 clockid_t c = clocks[i]; in clock_test_mutex_invalid_source()
|
H A D | clock_lock_cond.c | 130 const clockid_t clocks[] = { 0x7777, INT32_MAX, 0x23, CLOCK_VIRTUAL, in clock_test_cond_invalid_source() 136 clockid_t c = clocks[i]; in clock_test_cond_invalid_source()
|
H A D | clock_lock_rwlock.c | 87 const clockid_t clocks[] = { 0x7777, INT32_MAX, 0x23, CLOCK_VIRTUAL, in clock_test_rwlock_invalid_source() 92 clockid_t c = clocks[i]; in clock_test_rwlock_invalid_source()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthr_cond.c | 66 pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) in pthread_condattr_setclock() 82 pthread_condattr_getclock(const pthread_condattr_t *attr, clockid_t *clock_id) in pthread_condattr_getclock() 140 clockid_t clock_id; in pthread_cond_init()
|
H A D | sema.c | 212 sema_relclockwait(sema_t *sp, clockid_t clock, const timespec_t *reltime) in sema_relclockwait() 228 sema_clockwait(sema_t *sp, clockid_t clock, const timespec_t *abstime) in sema_clockwait()
|
H A D | rwlock.c | 788 clockid_t clock, const struct timespec *restrict reltime) in pthread_rwlock_relclockrdlock_np() 818 pthread_rwlock_clockrdlock(pthread_rwlock_t *restrict rwlp, clockid_t clock, in pthread_rwlock_clockrdlock() 919 clockid_t clock, const struct timespec *restrict reltime) in pthread_rwlock_relclockwrlock_np() 949 pthread_rwlock_clockwrlock(pthread_rwlock_t *rwlp, clockid_t clock, in pthread_rwlock_clockwrlock()
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | __clock_gettime.c | 21 extern int __clock_gettime_sys(clockid_t, timespec_t *); 24 __clock_gettime(clockid_t clock_id, timespec_t *tp) in __clock_gettime()
|
H A D | gettimeofday.c | 22 extern int __clock_gettime_sys(clockid_t, timespec_t *);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | time_util.c | 74 abstime_to_reltime(clockid_t clock_id, const timespec_t *abstime, in abstime_to_reltime() 77 extern int __clock_gettime(clockid_t, timespec_t *); in abstime_to_reltime()
|
H A D | lwp_cond.c | 68 extern void abstime_to_reltime(clockid_t, in _lwp_cond_timedwait()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | timer.h | 116 extern void clock_add_backend(clockid_t clock, clock_backend_t *backend); 117 extern clock_backend_t *clock_get_backend(clockid_t clock);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timer.c | 275 clock_add_backend(clockid_t clock, clock_backend_t *backend) in clock_add_backend() 284 clock_get_backend(clockid_t clock) in clock_get_backend() 293 clock_settime(clockid_t clock, timespec_t *tp) in clock_settime() 329 clock_gettime(clockid_t clock, timespec_t *tp) in clock_gettime() 361 clock_getres(clockid_t clock, timespec_t *tp) in clock_getres() 584 timer_create(clockid_t clock, struct sigevent *evp, timer_t *tid) in timer_create()
|
H A D | sysent.c | 257 int clock_gettime(clockid_t, timespec_t *); 258 int clock_settime(clockid_t, timespec_t *); 259 int clock_getres(clockid_t, timespec_t *); 260 int timer_create(clockid_t, struct sigevent *, timer_t *);
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 1221 clockid_t clockid; 1328 extern int sema_relclockwait(sema_t *, clockid_t, const timespec_t *); 1329 extern int sema_clockwait(sema_t *, clockid_t, const timespec_t *); 1477 extern int __clock_gettime(clockid_t, timespec_t *); 1478 extern void abstime_to_reltime(clockid_t, const timespec_t *, timespec_t *); 1500 extern int __cond_timedwait(cond_t *, mutex_t *, clockid_t,
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | external.c | 738 extern int __clock_gettime_sys(clockid_t, struct timespec *); 741 __clock_gettime(clockid_t clock_id, struct timespec *tp) in __clock_gettime()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | types.h | 105 typedef __clockid_t clockid_t; typedef
|