/freebsd-13-stable/sys/compat/linux/ |
H A D | trace_futexes.d | 32 * Trace futex operations: 34 * - size of the futex list 37 * - execution time (wallclock) of futex related functions 43 linuxulator*:futex:futex_get:error, 44 linuxulator*:futex:futex_sleep:requeue_error, 45 linuxulator*:futex:futex_sleep:sleep_error, 46 linuxulator*:futex:futex_wait:copyin_error, 47 linuxulator*:futex:futex_wait:itimerfix_error, 48 linuxulator*:futex:futex_wait:sleep_error, 49 linuxulator*:futex [all...] |
H A D | linux_futex.c | 86 * Per futex probes. 88 LIN_SDT_PROBE_DEFINE1(futex, futex, create, "struct sx *"); 89 LIN_SDT_PROBE_DEFINE1(futex, futex, destroy, "struct sx *"); 94 LIN_SDT_PROBE_DEFINE2(futex, futex_put, entry, "struct futex *", 96 LIN_SDT_PROBE_DEFINE3(futex, futex_put, destroy, "uint32_t *", "uint32_t", 98 LIN_SDT_PROBE_DEFINE3(futex, futex_put, unlock, "uint32_t *", "uint32_t", 100 LIN_SDT_PROBE_DEFINE0(futex, futex_pu 200 struct futex { struct [all...] |
H A D | check_error.d | 42 linuxulator*:futex:futex_get:error, 43 linuxulator*:futex:futex_sleep:requeue_error, 44 linuxulator*:futex:futex_sleep:sleep_error, 45 linuxulator*:futex:futex_wait:copyin_error, 46 linuxulator*:futex:futex_wait:itimerfix_error, 47 linuxulator*:futex:futex_wait:sleep_error, 48 linuxulator*:futex:futex_atomic_op:missing_access_check, 49 linuxulator*:futex:futex_atomic_op:unimplemented_op, 50 linuxulator*:futex:futex_atomic_op:unimplemented_cmp, 51 linuxulator*:futex [all...] |
H A D | linux.h | 155 extern LIST_HEAD(futex_list, futex) futex_list;
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/ |
H A D | mop.cpp | 11 #include <linux/futex.h>
|
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_csupport.cpp | 1024 // Fast-path acquire futex lock 1033 &(ftx->lk.poll), KMP_LOCK_FREE(futex), \ 1034 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { \ 1039 KMP_LOCK_BUSY(1, futex))) { \ 1042 poll_val |= KMP_LOCK_BUSY(1, futex); \ 1054 // Fast-path test futex lock 1058 if (KMP_COMPARE_AND_STORE_ACQ32(&(ftx->lk.poll), KMP_LOCK_FREE(futex), \ 1059 KMP_LOCK_BUSY(gtid + 1 << 1, futex))) { \ 1067 // Fast-path release futex loc [all...] |
H A D | kmp_lock.h | 89 // 2. futex locks (Linux* OS on x86 and 109 // futex) in that we use the memory allocated by the compiler for the lock, 168 // futex locks. futex locks are only available on Linux* OS. 170 // Like non-nested test and set lock, non-nested futex locks use the memory 175 // set locks. With non-nested futex locks, the lock owner is not even available. 179 volatile kmp_int32 poll; // KMP_LOCK_FREE(futex) => unlocked 196 // Static initializer for futex lock variables. Usage: 200 { KMP_LOCK_FREE(futex), 0 } \ 607 kmp_futex_lock_t futex; member in union:kmp_user_lock [all...] |
H A D | kmp_lock.cpp | 29 // We should really include <futex.h>, but that causes compatibility problems on 33 // define the constants here and don't include <futex.h> 302 /* futex locks */ 304 // futex locks are really just test and set locks, with a different method 337 &(lck->lk.poll), KMP_LOCK_FREE(futex), 338 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { 356 poll_val | KMP_LOCK_BUSY(1, futex))) { 363 poll_val |= KMP_LOCK_BUSY(1, futex); 387 // This thread has now done a successful futex wai [all...] |
H A D | kmp_settings.cpp | 4068 else if (__kmp_str_match("futex", 1, value)) { 4071 KMP_STORE_LOCK_SEQ(futex); 4139 value = "futex";
|
/freebsd-13-stable/contrib/llvm-project/libcxx/src/ |
H A D | atomic.cpp | 21 #include <linux/futex.h>
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | linux.cpp | 20 #include <linux/futex.h> 104 // The following is based on https://akkadia.org/drepper/futex.pdf.
|
/freebsd-13-stable/contrib/file/src/ |
H A D | seccomp.c | 178 ALLOW_RULE(futex);
|
/freebsd-13-stable/contrib/ntp/ntpd/ |
H A D | ntpd.c | 1366 SCMP_SYS(futex), 1403 SCMP_SYS(futex),
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 66 #include <sys/futex.h> 113 // <linux/futex.h> is broken on some linux distributions. 662 sched_yield(); /* No userspace futex-like synchronization */ 664 internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAIT_PRIVATE, MtxSleeping, 678 /* No userspace futex-like synchronization */ 680 internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAKE_PRIVATE, 1, 0, 0, 0);
|