Searched refs:futex_flag (Results 1 – 5 of 5) sorted by relevance
/linux/tools/perf/bench/ |
H A D | futex-requeue.c | 42 static int futex_flag = 0; variable 98 ret = futex_wait(&futex1, 0, NULL, futex_flag); in workerfn() 109 NULL, futex_flag); in workerfn() 112 futex_unlock_pi(&futex2, futex_flag); in workerfn() 202 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue() 253 futex_flag); in bench_futex_requeue() 257 futex_flag); in bench_futex_requeue() 293 nrequeued = futex_wake(&futex2, nrequeued, futex_flag); in bench_futex_requeue()
|
H A D | futex-wake.c | 42 static int futex_flag = 0; variable 79 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR) in workerfn() 177 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake() 210 params.nwakes, futex_flag); in bench_futex_wake()
|
H A D | futex-lock-pi.c | 37 static int futex_flag = 0; variable 100 ret = futex_lock_pi(w->futex, NULL, futex_flag); in workerfn() 113 ret = futex_unlock_pi(w->futex, futex_flag); in workerfn() 200 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
|
H A D | futex-wake-parallel.c | 58 static int futex_flag = 0; variable 89 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 143 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR) in blocked_workerfn() 296 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
|
H A D | futex-hash.c | 36 static int futex_flag = 0; variable 95 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); in workerfn() 167 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
|