Home
last modified time | relevance | path

Searched refs:futex (Results 1 – 25 of 107) sorted by relevance

12345

/external/linux-kselftest/tools/testing/selftests/futex/include/
Dfutextest.h74 #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/
Dfutextest.h105 #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 …]
Dfutex_wake01.c37 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},
Dfutex_wait01.c43 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},
Dfutex_common.h25 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()
Dfutex_wake02.c34 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()
Dfutex_wait03.c34 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()
Dfutex_wake03.c37 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()
Dfutex_wait05.c32 futex_t futex = FUTEX_INITIALIZER; in sample_fn() local
35 TEST(futex_wait(&futex, futex, &to, 0)); in sample_fn()
Dfutex_wait02.c43 ret = futex_wake(futex, 1, 0); in do_child()
69 res = futex_wait(futex, *futex, NULL, 0); in verify_futex_wait()
Dfutex_wait_bitset.h12 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/
D0015-selftests-futex-report-success-failure-to-environmen.patch4 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/
DDockerfile.android49 # 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/
Dfutex_bench.c18 #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/
DAndroid.bp238 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/
DREADME3 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/
Dsyscount_example.txt20 futex 86
91 futex 13
101 futex 12
/external/adeb/bcc/misc/
Dandroid-futex-contention-report4 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/android-futex-contention.py
/external/adeb/
DTODO4 - patch perf with the new futex contention script
/external/ltp/testcases/kernel/syscalls/
DMakefile38 accept4 adjtimex cma confstr fcntl fmtmsg futex getcontext getcpu \
/external/mesa3d/src/util/
DMakefile.sources16 futex.h \
/external/adhd/seccomp/
Dcras-seccomp-amd64.policy33 futex: 1
Dcras-seccomp-arm.policy41 futex: 1
Dcras-seccomp-arm64.policy38 futex: 1
/external/strace/
Dfutex.c49 SYS_FUNC(futex) in SYS_FUNC() argument

12345