/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | clock_gettime.h | 39 clock_gettime(int clock_id, struct timespec *ts) argument 43 if (clock_id != CLOCK_REALTIME) {
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_getcpuclockid.c | 41 _pthread_getcpuclockid(pthread_t pthread, clockid_t *clock_id) argument 47 if (clock_getcpuclockid2(TID(pthread), CPUCLOCK_WHICH_TID, clock_id))
|
H A D | thr_condattr.c | 84 clockid_t * __restrict clock_id) 88 *clock_id = (*attr)->c_clockid; 93 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) argument 97 if (clock_id != CLOCK_REALTIME && 98 clock_id != CLOCK_VIRTUAL && 99 clock_id != CLOCK_PROF && 100 clock_id != CLOCK_MONOTONIC) { 103 (*attr)->c_clockid = clock_id; 83 _pthread_condattr_getclock(const pthread_condattr_t * __restrict attr, clockid_t * __restrict clock_id) argument
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | clock_getcpuclockid.c | 36 clock_getcpuclockid(pid_t pid, clockid_t *clock_id) argument 38 if (clock_getcpuclockid2(pid, CPUCLOCK_WHICH_PID, clock_id))
|
H A D | sem_new.c | 344 usem_wait(struct _usem2 *sem, clockid_t clock_id, int flags, argument 359 tms.timeout._clockid = clock_id; 391 _sem_clockwait_np(sem_t * __restrict sem, clockid_t clock_id, int flags, argument 424 retval = usem_wait(&sem->_kern, clock_id, flags, rqtp, rmtp);
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | clock_nanosleep.c | 45 clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, argument 51 __libc_interposing[INTERPOS_clock_nanosleep])(clock_id, flags,
|
H A D | clock_gettime.c | 41 __clock_gettime(clockid_t clock_id, struct timespec *ts) argument 46 error = __vdso_clock_gettime(clock_id, ts); 50 error = __sys_clock_gettime(clock_id, ts);
|
H A D | __vdso_gettimeofday.c | 119 __vdso_clock_gettime(clockid_t clock_id, struct timespec *ts) argument 131 switch (clock_id) { 153 if (clock_id == CLOCK_SECOND)
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_clock.c | 87 cloudabi_clock_time_get(struct thread *td, cloudabi_clockid_t clock_id, argument 94 error = cloudabi_convert_clockid(clock_id, &clockid); 112 error = cloudabi_convert_clockid(uap->clock_id, &clockid); 132 error = cloudabi_clock_time_get(td, uap->clock_id, &ts);
|
H A D | cloudabi_futex.c | 429 cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, 441 clock_id, timeout, precision, abstime); 709 cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, 738 clock_id, timeout, precision, abstime); 790 futex_queue_convert_timestamp(struct thread *td, cloudabi_clockid_t clock_id, argument 799 error = cloudabi_clock_time_get(td, clock_id, &now); 812 struct futex_waiter *fw, struct thread *td, cloudabi_clockid_t clock_id, 825 error = futex_queue_convert_timestamp(td, clock_id, timeout, 980 cloudabi_scope_t lock_scope, cloudabi_clockid_t clock_id, 1017 clock_id, timeou 428 futex_lock_rdlock(struct futex_lock *fl, struct thread *td, cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime) argument 708 futex_lock_wrlock(struct futex_lock *fl, struct thread *td, cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime, struct futex_queue *donated) argument 811 futex_queue_sleep(struct futex_queue *fq, struct futex_lock *fl, struct futex_waiter *fw, struct thread *td, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime) argument 978 cloudabi_futex_condvar_wait(struct thread *td, cloudabi_condvar_t *condvar, cloudabi_scope_t condvar_scope, cloudabi_lock_t *lock, cloudabi_scope_t lock_scope, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime) argument 1052 cloudabi_futex_lock_rdlock(struct thread *td, cloudabi_lock_t *lock, cloudabi_scope_t scope, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime) argument 1071 cloudabi_futex_lock_wrlock(struct thread *td, cloudabi_lock_t *lock, cloudabi_scope_t scope, cloudabi_clockid_t clock_id, cloudabi_timestamp_t timeout, cloudabi_timestamp_t precision, bool abstime) argument [all...] |
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox_prop.h | 132 uint32_t clock_id; member in struct:msg_get_clock_rate::__anon7189::__anon7190 135 uint32_t clock_id; member in struct:msg_get_clock_rate::__anon7189::__anon7191 147 uint32_t clock_id; member in struct:msg_set_clock_rate::__anon7192::__anon7193 151 uint32_t clock_id; member in struct:msg_set_clock_rate::__anon7192::__anon7194 163 uint32_t clock_id; member in struct:msg_get_max_clock_rate::__anon7195::__anon7196 166 uint32_t clock_id; member in struct:msg_get_max_clock_rate::__anon7195::__anon7197 178 uint32_t clock_id; member in struct:msg_get_min_clock_rate::__anon7198::__anon7199 181 uint32_t clock_id; member in struct:msg_get_min_clock_rate::__anon7198::__anon7200
|
H A D | bcm2835_cpufreq.c | 162 uint32_t clock_id) 189 msg.body.req.clock_id = clock_id; 196 clock_id); 208 uint32_t clock_id) 235 msg.body.req.clock_id = clock_id; 242 clock_id); 254 uint32_t clock_id) 281 msg.body.req.clock_id 161 bcm2835_cpufreq_get_clock_rate(struct bcm2835_cpufreq_softc *sc, uint32_t clock_id) argument 207 bcm2835_cpufreq_get_max_clock_rate(struct bcm2835_cpufreq_softc *sc, uint32_t clock_id) argument 253 bcm2835_cpufreq_get_min_clock_rate(struct bcm2835_cpufreq_softc *sc, uint32_t clock_id) argument 299 bcm2835_cpufreq_set_clock_rate(struct bcm2835_cpufreq_softc *sc, uint32_t clock_id, uint32_t rate_hz) argument [all...] |
H A D | bcm2835_mbox.c | 453 bcm2835_mbox_get_clock_rate(uint32_t clock_id, uint32_t *hz) argument 464 msg.body.req.clock_id = clock_id;
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_time.c | 89 static int user_clock_nanosleep(struct thread *td, clockid_t clock_id, 177 clockid_t *clock_id; member in struct:clock_getcpuclockid2_args 189 error = copyout(&clk_id, uap->clock_id, sizeof(clockid_t)); 226 clockid_t clock_id; member in struct:clock_gettime_args 237 error = kern_clock_gettime(td, uap->clock_id, &ats); 288 get_cputime(struct thread *td, clockid_t clock_id, struct timespec *ats) argument 297 if ((clock_id & CPUCLOCK_PROCESS_BIT) == 0) { 298 tid = clock_id & CPUCLOCK_ID_MASK; 305 pid = clock_id & CPUCLOCK_ID_MASK; 316 kern_clock_gettime(struct thread *td, clockid_t clock_id, struc argument 379 clockid_t clock_id; member in struct:clock_settime_args 396 kern_clock_settime(struct thread *td, clockid_t clock_id, struct timespec *ats) argument 416 clockid_t clock_id; member in struct:clock_getres_args 436 kern_clock_getres(struct thread *td, clockid_t clock_id, struct timespec *ts) argument 493 kern_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, const struct timespec *rqt, struct timespec *rmt) argument 594 clockid_t clock_id; member in struct:clock_nanosleep_args 612 user_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, const struct timespec *ua_rqtp, struct timespec *ua_rmtp) argument 1153 clockid_t clock_id; member in struct:ktimer_create_args 1183 kern_ktimer_create(struct thread *td, clockid_t clock_id, struct sigevent *evp, int *timerid, int preset_id) argument [all...] |
/freebsd-11-stable/sys/arm/ti/ |
H A D | ti_hwmods.c | 50 int clock_id; member in struct:hwmod 123 clk = hw->clock_id;
|
/freebsd-11-stable/sys/sys/ |
H A D | timers.h | 108 void (*event_hook)(struct proc *p, clockid_t clock_id, int event);
|
H A D | vdso.h | 66 int __vdso_clock_gettime(clockid_t clock_id, struct timespec *ts);
|
H A D | syscallsubr.h | 85 int kern_clock_getres(struct thread *td, clockid_t clock_id, 87 int kern_clock_gettime(struct thread *td, clockid_t clock_id, 89 int kern_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, 91 int kern_clock_settime(struct thread *td, clockid_t clock_id, 272 int kern_ktimer_create(struct thread *td, clockid_t clock_id,
|
/freebsd-11-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_poll.c | 112 sub.clock.clock_id, &ts); 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, 305 sub[0].lock.lock_scope, sub[1].clock.clock_id, 323 sub[0].lock.lock_scope, sub[1].clock.clock_id,
|
/freebsd-11-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_poll.c | 112 sub.clock.clock_id, &ts); 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, 305 sub[0].lock.lock_scope, sub[1].clock.clock_id, 323 sub[0].lock.lock_scope, sub[1].clock.clock_id,
|
/freebsd-11-stable/contrib/wpa/src/utils/ |
H A D | os_unix.c | 74 static clockid_t clock_id = CLOCK_BOOTTIME; local 76 static clockid_t clock_id = CLOCK_MONOTONIC; 78 static clockid_t clock_id = CLOCK_REALTIME; 87 res = clock_gettime(clock_id, &ts); 93 switch (clock_id) { 96 clock_id = CLOCK_MONOTONIC; 101 clock_id = CLOCK_REALTIME;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1191 #define __sanitizer_syscall_pre_compat_50_clock_gettime(clock_id, tp) \ 1192 __sanitizer_syscall_pre_impl_compat_50_clock_gettime((long long)(clock_id), \ 1194 #define __sanitizer_syscall_post_compat_50_clock_gettime(res, clock_id, tp) \ 1196 res, (long long)(clock_id), (long long)(tp)) 1197 #define __sanitizer_syscall_pre_compat_50_clock_settime(clock_id, tp) \ 1198 __sanitizer_syscall_pre_impl_compat_50_clock_settime((long long)(clock_id), \ 1200 #define __sanitizer_syscall_post_compat_50_clock_settime(res, clock_id, tp) \ 1202 res, (long long)(clock_id), (long long)(tp)) 1203 #define __sanitizer_syscall_pre_compat_50_clock_getres(clock_id, tp) \ 1204 __sanitizer_syscall_pre_impl_compat_50_clock_getres((long long)(clock_id), \ [all...] |
/freebsd-11-stable/sys/contrib/cloudabi/ |
H A D | cloudabi64_types.h | 123 _Alignas(4) cloudabi_clockid_t clock_id; member in struct:__anon5535::__anon5536::__anon5537 151 _Static_assert(offsetof(cloudabi64_subscription_t, clock.clock_id) == 24, "Incorrect layout");
|
H A D | cloudabi32_types.h | 123 _Alignas(4) cloudabi_clockid_t clock_id; member in struct:__anon5518::__anon5519::__anon5520 151 _Static_assert(offsetof(cloudabi32_subscription_t, clock.clock_id) == 24, "Incorrect layout");
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_timer.c | 110 error = linux_to_native_clockid(&nwhich, uap->clock_id);
|