Searched refs:fshared (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/perf/bench/ |
D | futex-wake.c | 56 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 173 if (!params.fshared) in bench_futex_wake() 178 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake()
|
D | futex-hash.c | 60 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 162 if (!params.fshared) in bench_futex_hash() 166 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
|
D | futex-requeue.c | 56 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 198 if (!params.fshared) in bench_futex_requeue() 209 params.fshared ? "shared":"private", &futex1, in bench_futex_requeue()
|
D | futex-wake-parallel.c | 66 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 291 if (!params.fshared) in bench_futex_wake_parallel() 296 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake_parallel()
|
D | futex-lock-pi.c | 52 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 196 if (!params.fshared) in bench_futex_lock_pi()
|
D | futex.h | 18 bool fshared; member
|
/linux-6.6.21/kernel/futex/ |
D | futex.h | 32 extern bool should_fail_futex(bool fshared); 34 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument 119 extern int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key,
|
D | core.c | 77 bool should_fail_futex(bool fshared) in should_fail_futex() argument 79 if (fail_futex.ignore_private && !fshared) in should_fail_futex() 220 int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key() argument 240 if (unlikely(should_fail_futex(fshared))) in get_futex_key() 250 if (!fshared) { in get_futex_key()
|