Searched refs:futex_flag (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | futex-requeue.c | 46 static int futex_flag = 0; variable 83 futex_wait(&futex1, 0, NULL, futex_flag); in workerfn() 144 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue() 184 nrequeue, futex_flag); in bench_futex_requeue() 199 nrequeued = futex_wake(&futex2, nrequeued, futex_flag); in bench_futex_requeue()
|
D | futex-wake.c | 47 static int futex_flag = 0; variable 72 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR) in workerfn() 152 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake() 184 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|
D | futex-lock-pi.c | 39 static int futex_flag = 0; variable 94 ret = futex_lock_pi(w->futex, NULL, futex_flag); in workerfn() 107 ret = futex_unlock_pi(w->futex, futex_flag); in workerfn() 176 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 58 static int futex_flag = 0; variable 82 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 133 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR) in blocked_workerfn() 266 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
|
D | futex-hash.c | 38 static int futex_flag = 0; variable 89 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); in workerfn() 153 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
|