Searched refs:fshared (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/tools/perf/bench/ |
D | futex-wake.c | 42 static bool done = false, silent = false, fshared = false; variable 53 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 150 if (!fshared) in bench_futex_wake() 155 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
|
D | futex-requeue.c | 41 static bool done = false, silent = false, fshared = false; variable 52 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 142 if (!fshared) in bench_futex_requeue() 150 fshared ? "shared":"private", &futex1, &futex2, nrequeue); in bench_futex_requeue()
|
D | futex-hash.c | 37 static bool fshared = false, done = false, silent = false; variable 58 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 151 if (!fshared) in bench_futex_hash() 155 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
|
D | futex-wake-parallel.c | 51 static bool done = false, silent = false, fshared = false; variable 64 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 264 if (!fshared) in bench_futex_wake_parallel() 269 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
|
D | futex-lock-pi.c | 37 static bool done = false, fshared = false; variable 51 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 175 if (!fshared) in bench_futex_lock_pi()
|
/Linux-v5.4/kernel/ |
D | futex.c | 292 static bool should_fail_futex(bool fshared) in should_fail_futex() argument 294 if (fail_futex.ignore_private && !fshared) in should_fail_futex() 322 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument 521 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, enum futex_access rw) in get_futex_key() argument 540 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 550 if (!fshared) { in get_futex_key() 559 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 647 if (unlikely(should_fail_futex(fshared)) || ro) { in get_futex_key()
|