Searched refs:futex_flag (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | futex-requeue.c | 45 static int futex_flag = 0; variable 82 futex_wait(&futex1, 0, NULL, futex_flag); in workerfn() 142 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue() 182 nrequeue, futex_flag); in bench_futex_requeue() 197 nrequeued = futex_wake(&futex2, nrequeued, futex_flag); in bench_futex_requeue()
|
D | futex-wake.c | 46 static int futex_flag = 0; variable 71 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR) in workerfn() 150 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake() 182 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|
D | futex-lock-pi.c | 37 static int futex_flag = 0; variable 93 ret = futex_lock_pi(w->futex, NULL, futex_flag); in workerfn() 106 ret = futex_unlock_pi(w->futex, futex_flag); in workerfn() 174 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 57 static int futex_flag = 0; variable 81 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 132 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR) in blocked_workerfn() 264 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
|
D | futex-hash.c | 36 static int futex_flag = 0; variable 87 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); in workerfn() 150 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
|