Searched refs:futex (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/sys/compat/linux/
H A Dtrace_futexes.d32 * 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 Dlinux_futex.c86 * 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 Dcheck_error.d42 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 Dlinux.h155 extern LIST_HEAD(futex_list, futex) futex_list;
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
H A Dmop.cpp11 #include <linux/futex.h>
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_csupport.cpp1024 // 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 Dkmp_lock.h89 // 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 Dkmp_lock.cpp29 // 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 Dkmp_settings.cpp4068 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 Datomic.cpp21 #include <linux/futex.h>
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlinux.cpp20 #include <linux/futex.h>
104 // The following is based on https://akkadia.org/drepper/futex.pdf.
/freebsd-13-stable/contrib/file/src/
H A Dseccomp.c178 ALLOW_RULE(futex);
/freebsd-13-stable/contrib/ntp/ntpd/
H A Dntpd.c1366 SCMP_SYS(futex),
1403 SCMP_SYS(futex),
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp66 #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);

Completed in 224 milliseconds