/external/strace/xlat/ |
D | futexops.h | 6 #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),
|
D | futexops.in | 1 FUTEX_WAIT 0 14 FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG) 27 FUTEX_WAIT|FUTEX_CLOCK_REALTIME
|
/external/strace/tests/ |
D | futex.c | 107 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/ |
D | futex.c | 107 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/ |
D | futex.c | 107 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/ |
D | futex.h | 11 #define FUTEX_WAIT 0 macro 29 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | fsgsbase.c | 272 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()
|
D | ldt_gdt.c | 444 syscall(SYS_futex, &ftx, FUTEX_WAIT, 0, NULL, NULL, 0); in threadproc()
|
D | protection_keys.c | 1095 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/ |
D | futex-contention.py | 39 if cmd != FUTEX_WAIT or android_lock(callchain) == False:
|
D | android-futex-contention.py | 56 if cmd != FUTEX_WAIT or android_lock(callchain) == False:
|
/external/ltp/lib/ |
D | tst_checkpoint.c | 97 return syscall(SYS_futex, &tst_futexes[id], FUTEX_WAIT, in tst_checkpoint_wait()
|
/external/strace/ |
D | futex.c | 65 case FUTEX_WAIT: in SYS_FUNC()
|
/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 207 if (syscall(SYS_futex, &ctid, FUTEX_WAIT, -1, &timeout)) { in test_clone_thread()
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 277 int flags = FUTEX_WAIT; in mutex_lock()
|
/external/syzkaller/sys/linux/ |
D | sys_386.const | 136 FUTEX_WAIT = 0
|
D | sys_amd64.const | 136 FUTEX_WAIT = 0
|
D | sys_arm.const | 136 FUTEX_WAIT = 0
|
D | sys_ppc64le.const | 136 FUTEX_WAIT = 0
|
D | sys_arm64.const | 136 FUTEX_WAIT = 0
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 88 const int FUTEX_WAIT = 0; variable 531 internal_syscall(SYSCALL(futex), (uptr)m, FUTEX_WAIT, MtxSleeping, 0, 0, 0); in Lock()
|
/external/syzkaller/executor/ |
D | common_linux.h | 45 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/ |
D | linux_syscall_support.h | 654 #ifndef FUTEX_WAIT 655 #define FUTEX_WAIT 0 macro 688 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
|