Home
last modified time | relevance | path

Searched refs:FUTEX_WAIT (Results 1 – 25 of 29) sorted by relevance

12

/external/strace/xlat/
Dfutexops.h6 #if defined(FUTEX_WAIT) || (defined(HAVE_DECL_FUTEX_WAIT) && HAVE_DECL_FUTEX_WAIT)
8 static_assert((FUTEX_WAIT) == (0), "FUTEX_WAIT != 0");
11 # define FUTEX_WAIT 0
99 static_assert((FUTEX_WAIT_PRIVATE) == ((FUTEX_WAIT | FUTEX_PRIVATE_FLAG)), "FUTEX_WAIT_PRIVATE != (…
102 # define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
192 XLAT(FUTEX_WAIT),
220 #if defined(FUTEX_WAIT) || (defined(HAVE_DECL_FUTEX_WAIT) && HAVE_DECL_FUTEX_WAIT)
221 XLAT(FUTEX_WAIT|FUTEX_CLOCK_REALTIME),
Dfutexops.in1 FUTEX_WAIT 0
14 FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
27 FUTEX_WAIT|FUTEX_CLOCK_REALTIME
/external/strace/tests/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/strace/tests-mx32/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/strace/tests-m32/
Dfutex.c107 bool valid_timeout = (cmd == FUTEX_WAIT) || (cmd == FUTEX_LOCK_PI) || in invalid_op()
199 CHECK_FUTEX(NULL, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
206 CHECK_FUTEX(uaddr + 1, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
213 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout + 1, uaddr2, VAL3, in main()
222 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
231 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2, VAL3, in main()
241 CHECK_FUTEX(uaddr, FUTEX_WAIT, VAL, tmout, uaddr2 + 1, VAL3, in main()
248 CHECK_FUTEX_ENOSYS(uaddr, FUTEX_PRIVATE_FLAG | FUTEX_WAIT, VAL, tmout, in main()
259 FUTEX_CLOCK_REALTIME | FUTEX_WAIT, in main()
267 FUTEX_CLOCK_REALTIME | FUTEX_PRIVATE_FLAG | FUTEX_WAIT, in main()
/external/kernel-headers/original/uapi/linux/
Dfutex.h11 #define FUTEX_WAIT 0 macro
29 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
/external/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c272 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
333 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in set_gs_and_switch_to()
359 syscall(SYS_futex, &ftx, FUTEX_WAIT, 1, NULL, NULL, 0); in test_unexpected_base()
Dldt_gdt.c444 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
Dprotection_keys.c1095 futex_ret = syscall(SYS_futex, ptr, FUTEX_WAIT, some_int-1, NULL, in test_kernel_gup_write_to_write_disabled_region()
/external/adeb/bcc/misc/
Dfutex-contention.py39 if cmd != FUTEX_WAIT or android_lock(callchain) == False:
Dandroid-futex-contention.py56 if cmd != FUTEX_WAIT or android_lock(callchain) == False:
/external/ltp/lib/
Dtst_checkpoint.c97 return syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
/external/strace/
Dfutex.c65 case FUTEX_WAIT: in SYS_FUNC()
/external/linux-kselftest/tools/testing/selftests/futex/include/
Dfutextest.h84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone08.c207 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { in test_clone_thread()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutextest.h115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c277 int flags = FUTEX_WAIT; in mutex_lock()
/external/syzkaller/sys/linux/
Dsys_386.const136 FUTEX_WAIT = 0
Dsys_amd64.const136 FUTEX_WAIT = 0
Dsys_arm.const136 FUTEX_WAIT = 0
Dsys_ppc64le.const136 FUTEX_WAIT = 0
Dsys_arm64.const136 FUTEX_WAIT = 0
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc88 const int FUTEX_WAIT = 0; variable
531 internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAIT, MtxSleeping, 0, 0, 0); in Lock()
/external/syzkaller/executor/
Dcommon_linux.h45 syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, 0); in event_wait()
62 syscall(SYS_futex, &ev->state, FUTEX_WAIT, 0, &ts); in event_timedwait()
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h654 #ifndef FUTEX_WAIT
655 #define FUTEX_WAIT 0 macro
688 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)

12