Searched refs:fshared (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/tools/perf/bench/ |
D | futex-wake.c | 41 static bool done = false, silent = false, fshared = false; variable 52 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 149 if (!fshared) in bench_futex_wake() 154 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
|
D | futex-requeue.c | 40 static bool done = false, silent = false, fshared = false; variable 51 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 141 if (!fshared) in bench_futex_requeue() 149 fshared ? "shared":"private", &futex1, &futex2, nrequeue); in bench_futex_requeue()
|
D | futex-hash.c | 35 static bool fshared = false, done = false, silent = false; variable 56 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 149 if (!fshared) in bench_futex_hash() 153 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
|
D | futex-wake-parallel.c | 50 static bool done = false, silent = false, fshared = false; variable 63 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 263 if (!fshared) in bench_futex_wake_parallel() 268 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
|
D | futex-lock-pi.c | 35 static bool done = false, fshared = false; variable 49 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"), 173 if (!fshared) in bench_futex_lock_pi()
|
/Linux-v4.19/kernel/ |
D | futex.c | 301 static bool should_fail_futex(bool fshared) in should_fail_futex() argument 303 if (fail_futex.ignore_private && !fshared) in should_fail_futex() 335 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument 500 get_futex_key(u32 __user *uaddr, int fshared, union futex_key *key, int rw) in get_futex_key() argument 519 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 529 if (!fshared) { in get_futex_key() 538 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 626 if (unlikely(should_fail_futex(fshared)) || ro) { in get_futex_key()
|