/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | futextest.h | 74 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ macro 84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 94 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 105 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset() 116 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 128 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi() 137 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi() 147 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 163 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 176 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 105 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \ macro 115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags); in futex_wait() 125 return futex(uaddr, FUTEX_WAKE, nr_wake, NULL, NULL, 0, opflags); in futex_wake() 136 return futex(uaddr, FUTEX_WAIT_BITSET, val, timeout, NULL, bitset, in futex_wait_bitset() 147 return futex(uaddr, FUTEX_WAKE_BITSET, nr_wake, NULL, NULL, bitset, in futex_wake_bitset() 159 return futex(uaddr, FUTEX_LOCK_PI, detect, timeout, NULL, 0, opflags); in futex_lock_pi() 168 return futex(uaddr, FUTEX_UNLOCK_PI, 0, NULL, NULL, 0, opflags); in futex_unlock_pi() 178 return futex(uaddr, FUTEX_WAKE_OP, nr_wake, nr_wake2, uaddr2, wake_op, in futex_wake_op() 194 return futex(uaddr, FUTEX_REQUEUE, nr_wake, nr_requeue, uaddr2, 0, in futex_requeue() 207 return futex(uaddr, FUTEX_CMP_REQUEUE, nr_wake, nr_requeue, uaddr2, in futex_cmp_requeue() [all …]
|
D | futex_wake01.c | 37 static futex_t futex = FUTEX_INITIALIZER; variable 41 {&futex, 0, 0}, 42 {&futex, 0, FUTEX_PRIVATE_FLAG}, 43 {&futex, 1, 0}, 44 {&futex, 1, FUTEX_PRIVATE_FLAG}, 45 {&futex, INT_MAX, 0}, 46 {&futex, INT_MAX, FUTEX_PRIVATE_FLAG},
|
D | futex_wait01.c | 43 static futex_t futex = FUTEX_INITIALIZER; variable 47 {&futex, FUTEX_INITIALIZER, 0, ETIMEDOUT}, 48 {&futex, FUTEX_INITIALIZER+1, 0, EWOULDBLOCK}, 49 {&futex, FUTEX_INITIALIZER, FUTEX_PRIVATE_FLAG, ETIMEDOUT}, 50 {&futex, FUTEX_INITIALIZER+1, FUTEX_PRIVATE_FLAG, EWOULDBLOCK},
|
D | futex_common.h | 25 static futex_t *futex; variable 40 futex = SAFE_MMAP(NULL, NULL, sizeof(*futex), PROT_READ | PROT_WRITE, in setup() 45 *futex = FUTEX_INITIALIZER; in setup()
|
D | futex_wake02.c | 34 static futex_t futex = FUTEX_INITIALIZER; variable 63 futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG); in threaded() 88 res = futex_wake(&futex, i, FUTEX_PRIVATE_FLAG); in do_child() 111 res = futex_wake(&futex, 1, FUTEX_PRIVATE_FLAG); in do_child()
|
D | futex_wait03.c | 34 static futex_t futex = FUTEX_INITIALIZER; variable 42 ret = futex_wake(&futex, 1, FUTEX_PRIVATE_FLAG); in threaded() 59 res = futex_wait(&futex, futex, NULL, FUTEX_PRIVATE_FLAG); in verify_futex_wait()
|
D | futex_wake03.c | 37 futex_wait(futex, *futex, NULL, 0); in do_child() 45 res = futex_wake(futex, nr_children, 0); in do_wake() 96 res = futex_wake(futex, 1, 0); in verify_futex_wake()
|
D | futex_wait05.c | 32 futex_t futex = FUTEX_INITIALIZER; in sample_fn() local 35 TEST(futex_wait(&futex, futex, &to, 0)); in sample_fn()
|
D | futex_wait02.c | 43 ret = futex_wake(futex, 1, 0); in do_child() 69 res = futex_wait(futex, *futex, NULL, 0); in verify_futex_wait()
|
D | futex_wait_bitset.h | 12 futex_t futex = FUTEX_INITIALIZER; in verify_futex_wait_bitset() local 22 TEST(futex_wait_bitset(&futex, futex, &to, bitset, flags)); in verify_futex_wait_bitset()
|
/external/linux-kselftest/android/patches/ |
D | 0015-selftests-futex-report-success-failure-to-environmen.patch | 4 Subject: [PATCH] selftests/futex: report success/failure to environment 14 tools/testing/selftests/futex/functional/run.sh | 63 +++++++++++++++---------- 17 diff --git a/tools/testing/selftests/futex/functional/run.sh b/tools/testing/selftests/futex/functi… 19 --- a/tools/testing/selftests/futex/functional/run.sh 20 +++ b/tools/testing/selftests/futex/functional/run.sh
|
/external/tensorflow/tensorflow/tools/ci_build/ |
D | Dockerfile.android | 49 # futex.h. 53 …" ${ANDROID_DEV_HOME}/android-ndk-r14b/platforms/android-14/arch-arm/usr/include/linux/futex.h && \ 54 … ${ANDROID_DEV_HOME}/android-ndk-r14b/platforms/android-14/arch-mips/usr/include/linux/futex.h && \ 55 …" ${ANDROID_DEV_HOME}/android-ndk-r14b/platforms/android-14/arch-x86/usr/include/linux/futex.h && \
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | futex_bench.c | 18 #define futex(A, B, C, D, E, F) syscall(__NR_futex, A, B, C, D, E, F) macro 29 futex(&addr, FUTEX_WAKE, 1, NULL, NULL, 0); in test_futex()
|
/external/linux-kselftest/ |
D | Android.bp | 238 relative_install_path: "linux-kselftest/futex/functional", 240 "tools/testing/selftests/futex/functional/futex_requeue_pi.c", 241 "tools/testing/selftests/futex/functional/futex_requeue_pi_mismatched_ops.c", 242 "tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c", 243 "tools/testing/selftests/futex/functional/futex_wait_private_mapped_file.c", 244 "tools/testing/selftests/futex/functional/futex_wait_timeout.c", 245 "tools/testing/selftests/futex/functional/futex_wait_uninitialized_heap.c", 246 "tools/testing/selftests/futex/functional/futex_wait_wouldblock.c", 249 "tools/testing/selftests/futex/include", 261 sub_dir: "linux-kselftest/futex/functional", [all …]
|
/external/linux-kselftest/tools/testing/selftests/futex/ |
D | README | 3 Futex Test is intended to thoroughly test the Linux kernel futex system call 6 Functional tests shall test the documented behavior of the futex operation 54 based on the primary futex operation they test. Eventually this will become a
|
/external/bcc/tools/ |
D | syscount_example.txt | 20 futex 86 91 futex 13 101 futex 12
|
/external/adeb/bcc/misc/ |
D | android-futex-contention-report | 4 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/android-futex-contention.py
|
/external/adeb/ |
D | TODO | 4 - patch perf with the new futex contention script
|
/external/ltp/testcases/kernel/syscalls/ |
D | Makefile | 38 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
|
/external/mesa3d/src/util/ |
D | Makefile.sources | 16 futex.h \
|
/external/adhd/seccomp/ |
D | cras-seccomp-amd64.policy | 33 futex: 1
|
D | cras-seccomp-arm.policy | 41 futex: 1
|
D | cras-seccomp-arm64.policy | 38 futex: 1
|
/external/strace/ |
D | futex.c | 49 SYS_FUNC(futex) in SYS_FUNC() argument
|