Searched refs:FUTEX_PRIVATE_FLAG (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/include/uapi/linux/
H A Dfutex.h24 #define FUTEX_PRIVATE_FLAG 128 macro
26 #define FUTEX_CMD_MASK ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
28 #define FUTEX_WAIT_PRIVATE (FUTEX_WAIT | FUTEX_PRIVATE_FLAG)
29 #define FUTEX_WAKE_PRIVATE (FUTEX_WAKE | FUTEX_PRIVATE_FLAG)
30 #define FUTEX_REQUEUE_PRIVATE (FUTEX_REQUEUE | FUTEX_PRIVATE_FLAG)
31 #define FUTEX_CMP_REQUEUE_PRIVATE (FUTEX_CMP_REQUEUE | FUTEX_PRIVATE_FLAG)
32 #define FUTEX_WAKE_OP_PRIVATE (FUTEX_WAKE_OP | FUTEX_PRIVATE_FLAG)
33 #define FUTEX_LOCK_PI_PRIVATE (FUTEX_LOCK_PI | FUTEX_PRIVATE_FLAG)
34 #define FUTEX_UNLOCK_PI_PRIVATE (FUTEX_UNLOCK_PI | FUTEX_PRIVATE_FLAG)
35 #define FUTEX_TRYLOCK_PI_PRIVATE (FUTEX_TRYLOCK_PI | FUTEX_PRIVATE_FLAG)
36 #define FUTEX_WAIT_BITSET_PRIVATE (FUTEX_WAIT_BITSET | FUTEX_PRIVATE_FLAG)
37 #define FUTEX_WAKE_BITSET_PRIVATE (FUTEX_WAKE_BITSET | FUTEX_PRIVATE_FLAG)
39 FUTEX_PRIVATE_FLAG)
41 FUTEX_PRIVATE_FLAG)
/linux-4.4.14/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi.c127 FUTEX_PRIVATE_FLAG); waiterfn()
139 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); waiterfn()
141 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); waiterfn()
164 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); broadcast_wakerfn()
169 FUTEX_PRIVATE_FLAG); broadcast_wakerfn()
183 futex_wake(&wake_complete, 1, FUTEX_PRIVATE_FLAG); broadcast_wakerfn()
186 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); broadcast_wakerfn()
215 futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); signal_wakerfn()
222 FUTEX_PRIVATE_FLAG); signal_wakerfn()
229 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); signal_wakerfn()
250 futex_wake(&wake_complete, 1, FUTEX_PRIVATE_FLAG); signal_wakerfn()
265 args->ret = futex_lock_pi(&f2, NULL, 0, FUTEX_PRIVATE_FLAG); third_party_blocker()
269 FUTEX_PRIVATE_FLAG); third_party_blocker()
270 ret2 = futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); third_party_blocker()
H A Dfutex_requeue_pi_signal_restart.c106 FUTEX_PRIVATE_FLAG); waiterfn()
112 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); waiterfn()
168 futex_lock_pi(&f2, 0, 0, FUTEX_PRIVATE_FLAG); main()
184 FUTEX_PRIVATE_FLAG); main()
214 futex_unlock_pi(&f2, FUTEX_PRIVATE_FLAG); main()
H A Dfutex_requeue_pi_mismatched_ops.c48 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); blocking_child()
96 ret = futex_cmp_requeue_pi(&f1, f1, &f2, 1, 0, FUTEX_PRIVATE_FLAG); main()
104 ret = futex_wake(&f1, 1, FUTEX_PRIVATE_FLAG); main()
H A Dfutex_wait_timeout.c78 res = futex_wait(&f1, f1, &to, FUTEX_PRIVATE_FLAG); main()
H A Dfutex_wait_wouldblock.c70 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); main()
/linux-4.4.14/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py13 FUTEX_PRIVATE_FLAG = 128 variable
15 FUTEX_CMD_MASK = ~(FUTEX_PRIVATE_FLAG | FUTEX_CLOCK_REALTIME)
/linux-4.4.14/tools/testing/selftests/futex/include/
H A Dfutextest.h47 FUTEX_PRIVATE_FLAG)
51 FUTEX_PRIVATE_FLAG)
63 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG
/linux-4.4.14/tools/perf/bench/
H A Dfutex.h24 * @opflags: flags to be bitwise OR'd with op, such as FUTEX_PRIVATE_FLAG
H A Dfutex-hash.c139 futex_flag = FUTEX_PRIVATE_FLAG; bench_futex_hash()
H A Dfutex-lock-pi.c163 futex_flag = FUTEX_PRIVATE_FLAG; bench_futex_lock_pi()
H A Dfutex-requeue.c133 futex_flag = FUTEX_PRIVATE_FLAG; bench_futex_requeue()
H A Dfutex-wake.c141 futex_flag = FUTEX_PRIVATE_FLAG; bench_futex_wake()
H A Dfutex-wake-parallel.c236 futex_flag = FUTEX_PRIVATE_FLAG; bench_futex_wake_parallel()
/linux-4.4.14/kernel/
H A Dfutex.c3068 if (!(op & FUTEX_PRIVATE_FLAG)) do_futex()
3131 if (unlikely(should_fail_futex(!(op & FUTEX_PRIVATE_FLAG)))) SYSCALL_DEFINE6()
/linux-4.4.14/tools/perf/
H A Dbuiltin-trace.c577 if (op & FUTEX_PRIVATE_FLAG) syscall_arg__scnprintf_futex_op()

Completed in 700 milliseconds