Home
last modified time | relevance | path

Searched refs:fshared (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/perf/bench/
Dfutex-wake.c56 OPT_BOOLEAN( 'S', "shared", &params.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()
Dfutex-hash.c60 OPT_BOOLEAN( 'S', "shared", &params.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()
Dfutex-requeue.c56 OPT_BOOLEAN( 'S', "shared", &params.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()
Dfutex-wake-parallel.c66 OPT_BOOLEAN( 'S', "shared", &params.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()
Dfutex-lock-pi.c52 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
196 if (!params.fshared) in bench_futex_lock_pi()
Dfutex.h18 bool fshared; member
/linux-6.6.21/kernel/futex/
Dfutex.h32 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,
Dcore.c77 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()