| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_condattr.c | 86 clockid_t * __restrict clock_id) in _pthread_condattr_getclock() argument 90 *clock_id = (*attr)->c_clockid; in _pthread_condattr_getclock() 95 _pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock_id) in _pthread_condattr_setclock() argument 99 if (clock_id != CLOCK_REALTIME && in _pthread_condattr_setclock() 100 clock_id != CLOCK_VIRTUAL && in _pthread_condattr_setclock() 101 clock_id != CLOCK_PROF && in _pthread_condattr_setclock() 102 clock_id != CLOCK_MONOTONIC) { in _pthread_condattr_setclock() 105 (*attr)->c_clockid = clock_id; in _pthread_condattr_setclock()
|
| H A D | thr_getcpuclockid.c | 43 _pthread_getcpuclockid(pthread_t pthread, clockid_t *clock_id) in _pthread_getcpuclockid() argument 49 if (clock_getcpuclockid2(TID(pthread), CPUCLOCK_WHICH_TID, clock_id)) in _pthread_getcpuclockid()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_time.c | 179 clockid_t *clock_id; member 228 clockid_t clock_id; member 324 switch (clock_id) { in kern_clock_gettime() 381 clockid_t clock_id; member 425 clockid_t clock_id; member 449 switch (clock_id) { in kern_clock_getres() 515 switch (clock_id) { in kern_clock_nanosleep() 603 clockid_t clock_id; member 1167 clockid_t clock_id; member 1205 if (clock_id < 0 || clock_id >= MAX_CLOCKS) in kern_ktimer_create() [all …]
|
| /freebsd-12.1/sys/arm/broadcom/bcm2835/ |
| H A D | bcm2835_mbox_prop.h | 132 uint32_t clock_id; member 135 uint32_t clock_id; member 147 uint32_t clock_id; member 151 uint32_t clock_id; member 163 uint32_t clock_id; member 166 uint32_t clock_id; member 178 uint32_t clock_id; member 181 uint32_t clock_id; member
|
| H A D | bcm2835_cpufreq.c | 161 uint32_t clock_id) in bcm2835_cpufreq_get_clock_rate() argument 188 msg.body.req.clock_id = clock_id; in bcm2835_cpufreq_get_clock_rate() 195 clock_id); in bcm2835_cpufreq_get_clock_rate() 207 uint32_t clock_id) in bcm2835_cpufreq_get_max_clock_rate() argument 234 msg.body.req.clock_id = clock_id; in bcm2835_cpufreq_get_max_clock_rate() 241 clock_id); in bcm2835_cpufreq_get_max_clock_rate() 280 msg.body.req.clock_id = clock_id; in bcm2835_cpufreq_get_min_clock_rate() 287 clock_id); in bcm2835_cpufreq_get_min_clock_rate() 327 msg.body.req.clock_id = clock_id; in bcm2835_cpufreq_set_clock_rate() 335 clock_id); in bcm2835_cpufreq_set_clock_rate() [all …]
|
| H A D | bcm2835_mbox.c | 459 bcm2835_mbox_get_clock_rate(uint32_t clock_id, uint32_t *hz) in bcm2835_mbox_get_clock_rate() argument 470 msg.body.req.clock_id = clock_id; in bcm2835_mbox_get_clock_rate()
|
| /freebsd-12.1/sys/compat/cloudabi/ |
| H A D | cloudabi_clock.c | 87 cloudabi_clock_time_get(struct thread *td, cloudabi_clockid_t clock_id, in cloudabi_clock_time_get() argument 94 error = cloudabi_convert_clockid(clock_id, &clockid); in cloudabi_clock_time_get() 112 error = cloudabi_convert_clockid(uap->clock_id, &clockid); in cloudabi_sys_clock_res_get() 132 error = cloudabi_clock_time_get(td, uap->clock_id, &ts); in cloudabi_sys_clock_time_get()
|
| H A D | cloudabi_futex.c | 429 cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, in futex_lock_rdlock() argument 441 clock_id, timeout, precision, abstime); in futex_lock_rdlock() 709 cloudabi_lock_t *lock, cloudabi_clockid_t clock_id, in futex_lock_wrlock() argument 738 clock_id, timeout, precision, abstime); in futex_lock_wrlock() 799 error = cloudabi_clock_time_get(td, clock_id, &now); in futex_queue_convert_timestamp() 980 cloudabi_scope_t lock_scope, cloudabi_clockid_t clock_id, in cloudabi_futex_condvar_wait() argument 1017 clock_id, timeout, precision, abstime); in cloudabi_futex_condvar_wait() 1053 cloudabi_scope_t scope, cloudabi_clockid_t clock_id, in cloudabi_futex_lock_rdlock() argument 1064 error = futex_lock_rdlock(fl, td, lock, clock_id, timeout, in cloudabi_futex_lock_rdlock() 1072 cloudabi_scope_t scope, cloudabi_clockid_t clock_id, in cloudabi_futex_lock_wrlock() argument [all …]
|
| /freebsd-12.1/lib/libc/sys/ |
| H A D | clock_gettime.c | 43 __clock_gettime(clockid_t clock_id, struct timespec *ts) in __clock_gettime() argument 48 error = __vdso_clock_gettime(clock_id, ts); in __clock_gettime() 52 error = __sys_clock_gettime(clock_id, ts); in __clock_gettime()
|
| H A D | __vdso_gettimeofday.c | 121 __vdso_clock_gettime(clockid_t clock_id, struct timespec *ts) in __vdso_clock_gettime() argument 133 switch (clock_id) { in __vdso_clock_gettime() 155 if (clock_id == CLOCK_SECOND) in __vdso_clock_gettime()
|
| H A D | clock_nanosleep.c | 44 clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, in clock_nanosleep() argument 50 __libc_interposing[INTERPOS_clock_nanosleep])(clock_id, flags, in clock_nanosleep()
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | clock_getcpuclockid.c | 38 clock_getcpuclockid(pid_t pid, clockid_t *clock_id) in clock_getcpuclockid() argument 40 if (clock_getcpuclockid2(pid, CPUCLOCK_WHICH_PID, clock_id)) in clock_getcpuclockid()
|
| H A D | sem_new.c | 346 usem_wait(struct _usem2 *sem, clockid_t clock_id, int flags, in usem_wait() argument 361 tms.timeout._clockid = clock_id; in usem_wait() 393 _sem_clockwait_np(sem_t * __restrict sem, clockid_t clock_id, int flags, in _sem_clockwait_np() argument 426 retval = usem_wait(&sem->_kern, clock_id, flags, rqtp, rmtp); in _sem_clockwait_np()
|
| /freebsd-12.1/contrib/openbsm/compat/ |
| H A D | clock_gettime.h | 39 clock_gettime(int clock_id, struct timespec *ts) in clock_gettime() argument 43 if (clock_id != CLOCK_REALTIME) { in clock_gettime()
|
| /freebsd-12.1/contrib/compiler-rt/include/sanitizer/ |
| H A D | netbsd_syscall_hooks.h | 1197 res, (long long)(clock_id), (long long)(tp)) 1203 res, (long long)(clock_id), (long long)(tp)) 1209 res, (long long)(clock_id), (long long)(tp)) 1212 (long long)(clock_id), (long long)(evp), (long long)(timerid)) 2702 (long long)(idtype), (long long)(id), (long long)(clock_id)) 3616 void __sanitizer_syscall_pre_impl_timer_create(long long clock_id, 3620 long long clock_id, 4439 void __sanitizer_syscall_pre_impl___clock_getres50(long long clock_id, 4684 void __sanitizer_syscall_pre_impl_clock_nanosleep(long long clock_id, 4693 void __sanitizer_syscall_pre_impl____lwp_park60(long long clock_id, [all …]
|
| /freebsd-12.1/contrib/wpa/src/utils/ |
| H A D | os_unix.c | 74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 78 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 87 res = clock_gettime(clock_id, &ts); in os_get_reltime() 93 switch (clock_id) { in os_get_reltime() 96 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 101 clock_id = CLOCK_REALTIME; in os_get_reltime()
|
| /freebsd-12.1/sys/compat/cloudabi64/ |
| H A D | cloudabi64_poll.c | 112 sub.clock.clock_id, &ts); in cloudabi64_kevent_copyin() 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll() 305 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll() 323 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi64_sys_poll()
|
| /freebsd-12.1/sys/compat/cloudabi32/ |
| H A D | cloudabi32_poll.c | 112 sub.clock.clock_id, &ts); in cloudabi32_kevent_copyin() 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll() 305 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll() 323 sub[0].lock.lock_scope, sub[1].clock.clock_id, in cloudabi32_sys_poll()
|
| /freebsd-12.1/sys/arm/ti/ |
| H A D | ti_hwmods.c | 49 int clock_id; member 132 clk = hw->clock_id; in ti_hwmods_get_clock()
|
| /freebsd-12.1/sys/sys/ |
| H A D | syscallsubr.h | 86 int kern_clock_getres(struct thread *td, clockid_t clock_id, 88 int kern_clock_gettime(struct thread *td, clockid_t clock_id, 90 int kern_clock_nanosleep(struct thread *td, clockid_t clock_id, int flags, 92 int kern_clock_settime(struct thread *td, clockid_t clock_id, 274 int kern_ktimer_create(struct thread *td, clockid_t clock_id,
|
| H A D | timers.h | 110 void (*event_hook)(struct proc *p, clockid_t clock_id, int event);
|
| H A D | vdso.h | 68 int __vdso_clock_gettime(clockid_t clock_id, struct timespec *ts);
|
| /freebsd-12.1/sys/contrib/cloudabi/ |
| H A D | cloudabi64_types.h | 123 _Alignas(4) cloudabi_clockid_t clock_id; 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; 151 _Static_assert(offsetof(cloudabi32_subscription_t, clock.clock_id) == 24, "Incorrect layout");
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_timer.c | 110 error = linux_to_native_clockid(&nwhich, uap->clock_id); in linux_timer_create()
|