Home
last modified time | relevance | path

Searched refs:FUTEX_PRIVATE_FLAG (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfutex.h23 #define FUTEX_PRIVATE_FLAG 128 macro
25 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
26 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
27 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG)
28 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)
29 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG)
30 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG)
31 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG)
32 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG)
33 #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG)
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dfutex.h25 #define FUTEX_PRIVATE_FLAG 128 macro
27 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
29 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
30 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG)
31 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)
32 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG)
33 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG)
34 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG)
35 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG)
36 #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG)
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfutex.h36 #define FUTEX_PRIVATE_FLAG 128 macro
38 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
39 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
40 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG)
41 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)
42 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG)
43 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG)
44 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG)
45 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG)
46 #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG)
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c124 FUTEX_PRIVATE_FLAG); in waiterfn()
136 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in waiterfn()
138 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn()
161 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
166 FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
180 futex_wake(&wake_complete, 1, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
183 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in broadcast_wakerfn()
212 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); in signal_wakerfn()
219 FUTEX_PRIVATE_FLAG); in signal_wakerfn()
226 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in signal_wakerfn()
[all …]
Dfutex_requeue_pi_signal_restart.c103 FUTEX_PRIVATE_FLAG); in waiterfn()
109 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in waiterfn()
167 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); in main()
183 FUTEX_PRIVATE_FLAG); in main()
213 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); in main()
Dfutex_requeue_pi_mismatched_ops.c46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child()
96 ret = futex_cmp_requeue_pi(&f1, f1, &f2, 1, 0, FUTEX_PRIVATE_FLAG); in main()
104 ret = futex_wake(&f1, 1, FUTEX_PRIVATE_FLAG); in main()
Dfutex_wait_wouldblock.c69 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); in main()
Dfutex_wait_timeout.c78 res = futex_wait(&f1, f1, &to, FUTEX_PRIVATE_FLAG); in main()
/kernel/linux/linux-5.10/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py14 FUTEX_PRIVATE_FLAG = 128 variable
16 FUTEX_CMD_MASK = ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
/kernel/linux/linux-5.10/tools/testing/selftests/futex/include/
Dfutextest.h43 FUTEX_PRIVATE_FLAG)
47 FUTEX_PRIVATE_FLAG)
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dfutex_op.c54 if (op & FUTEX_PRIVATE_FLAG) in syscall_arg__scnprintf_futex_op()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
Dcontext_switch.c286 flags |= FUTEX_PRIVATE_FLAG; in mutex_lock()
307 flags |= FUTEX_PRIVATE_FLAG; in mutex_unlock()
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/
Dplugin_futex.c102 if (args.op & FUTEX_PRIVATE_FLAG) in futex_handler()
/kernel/linux/linux-5.10/tools/perf/bench/
Dfutex-wake.c152 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake()
Dfutex-requeue.c144 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue()
Dfutex-hash.c153 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
Dfutex-lock-pi.c176 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
Dfutex-wake-parallel.c266 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
/kernel/linux/linux-5.10/kernel/futex/
Dcore.c3719 if (!(op & FUTEX_PRIVATE_FLAG)) in do_futex()
3784 if (unlikely(should_fail_futex(!(op & FUTEX_PRIVATE_FLAG)))) in SYSCALL_DEFINE6()