Searched refs:futex_flag (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/tools/perf/bench/ |
D | futex-requeue.c | 38 static int futex_flag = 0; variable 75 futex_wait(&futex1, 0, NULL, futex_flag); in workerfn() 133 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_requeue() 173 nrequeue, futex_flag); in bench_futex_requeue() 188 nrequeued = futex_wake(&futex2, nrequeued, futex_flag); in bench_futex_requeue()
|
D | futex-wake.c | 39 static int futex_flag = 0; variable 64 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR) in workerfn() 141 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake() 173 nwoken += futex_wake(&futex1, nwakes, futex_flag); in bench_futex_wake()
|
D | futex-lock-pi.c | 31 static int futex_flag = 0; variable 86 ret = futex_lock_pi(w->futex, NULL, 0, futex_flag); in workerfn() 99 ret = futex_unlock_pi(w->futex, futex_flag); in workerfn() 163 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_lock_pi()
|
D | futex-wake-parallel.c | 41 static int futex_flag = 0; variable 63 waker->nwoken = futex_wake(&futex, nwakes, futex_flag); in waking_workerfn() 108 if (futex_wait(&futex, 0, NULL, futex_flag) != EINTR) in blocked_workerfn() 236 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_wake_parallel()
|
D | futex-hash.c | 29 static int futex_flag = 0; variable 79 ret = futex_wait(&w->futex[i], 1234, NULL, futex_flag); in workerfn() 139 futex_flag = FUTEX_PRIVATE_FLAG; in bench_futex_hash()
|