Home
last modified time | relevance | path

Searched refs:clockid (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/librthread/
H A Dsynch.h29 _twait(volatile uint32_t *p, int val, clockid_t clockid, const struct timespec *abs) in _twait() argument
44 if (!timespecisvalid(abs) || clock_gettime(clockid, &now)) in _twait()
/openbsd/lib/libc/thread/
H A Dsynch.h29 _twait(volatile uint32_t *p, int val, clockid_t clockid, const struct timespec *abs) in _twait() argument
44 if (!timespecisvalid(abs) || WRAP(clock_gettime)(clockid, &now)) in _twait()
/openbsd/regress/sys/kern/futex/
H A Dfutex.h32 futex_twait(volatile uint32_t *p, int val, clockid_t clockid, in futex_twait() argument
/openbsd/usr.bin/kdump/
H A Dkdump.c1766 clockname(int clockid) in clockname() argument
1768 clocktypename(__CLOCK_TYPE(clockid)); in clockname()
1769 if (__CLOCK_PTID(clockid) != 0) in clockname()
1770 printf("(%d)", __CLOCK_PTID(clockid)); in clockname()
/openbsd/gnu/llvm/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1726 #define __sanitizer_syscall_pre_timerfd_create(clockid, flags) \ argument
1727 __sanitizer_syscall_pre_impl_timerfd_create((long)(clockid), (long)(flags))
1728 #define __sanitizer_syscall_post_timerfd_create(res, clockid, flags) \ argument
1729 __sanitizer_syscall_post_impl_timerfd_create(res, (long)(clockid), \
3006 void __sanitizer_syscall_pre_impl_timerfd_create(long clockid, long flags);
3007 void __sanitizer_syscall_post_impl_timerfd_create(long res, long clockid,
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2279 __sanitizer_clockid_t *clockid) {
2281 COMMON_INTERCEPTOR_ENTER(ctx, clock_getcpuclockid, pid, clockid);
2282 int res = REAL(clock_getcpuclockid)(pid, clockid);
2283 if (!res && clockid) {
2284 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, clockid, sizeof *clockid);
2290 __sanitizer_clockid_t *clockid) {
2292 COMMON_INTERCEPTOR_ENTER(ctx, pthread_getcpuclockid, thread, clockid);
2293 int res = REAL(pthread_getcpuclockid)(thread, clockid);
2294 if (!res && clockid) {
2295 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, clockid, sizeof *clockid);
H A Dsanitizer_common_syscalls.inc2953 PRE_SYSCALL(timerfd_create)(long clockid, long flags) {}
2955 POST_SYSCALL(timerfd_create)(long res, long clockid, long flags) {}