Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/bench/
Dfutex-wake.c55 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
170 if (!params.fshared) in bench_futex_wake()
175 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake()
Dfutex-hash.c59 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
161 if (!params.fshared) in bench_futex_hash()
165 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
Dfutex-requeue.c55 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
195 if (!params.fshared) in bench_futex_requeue()
206 params.fshared ? "shared":"private", &futex1, in bench_futex_requeue()
Dfutex-wake-parallel.c65 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
285 if (!params.fshared) in bench_futex_wake_parallel()
290 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake_parallel()
Dfutex-lock-pi.c51 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
193 if (!params.fshared) in bench_futex_lock_pi()
Dfutex.h18 bool fshared; member
/linux-5.19.10/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()