/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | futex.h | 23 #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/ |
D | futex.h | 25 #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/ |
D | futex.h | 36 #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/ |
D | futex_requeue_pi.c | 124 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 …]
|
D | futex_requeue_pi_signal_restart.c | 103 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()
|
D | futex_requeue_pi_mismatched_ops.c | 46 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()
|
D | futex_wait_wouldblock.c | 69 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); in main()
|
D | futex_wait_timeout.c | 78 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/ |
D | Util.py | 14 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/ |
D | futextest.h | 43 FUTEX_PRIVATE_FLAG) 47 FUTEX_PRIVATE_FLAG)
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
D | futex_op.c | 54 if (op & FUTEX_PRIVATE_FLAG) in syscall_arg__scnprintf_futex_op()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 286 flags |= FUTEX_PRIVATE_FLAG; in mutex_lock() 307 flags |= FUTEX_PRIVATE_FLAG; in mutex_unlock()
|
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
D | plugin_futex.c | 102 if (args.op & FUTEX_PRIVATE_FLAG) in futex_handler()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | futex-wake.c | 152 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake()
|
D | futex-requeue.c | 144 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue()
|
D | futex-hash.c | 153 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
|
D | futex-lock-pi.c | 176 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 266 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
|
/kernel/linux/linux-5.10/kernel/futex/ |
D | core.c | 3719 if (!(op & FUTEX_PRIVATE_FLAG)) in do_futex() 3784 if (unlikely(should_fail_futex(!(op & FUTEX_PRIVATE_FLAG)))) in SYSCALL_DEFINE6()
|