Home
last modified time | relevance | path

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

/Linux-v5.15/tools/perf/bench/
Dfutex-wake.c55 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
160 if (!params.fshared) in bench_futex_wake()
165 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"),
159 if (!params.fshared) in bench_futex_hash()
163 … 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"),
184 if (!params.fshared) in bench_futex_requeue()
195 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"),
274 if (!params.fshared) in bench_futex_wake_parallel()
279 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"),
182 if (!params.fshared) in bench_futex_lock_pi()
Dfutex.h18 bool fshared; member
/Linux-v5.15/kernel/
Dfutex.c332 static bool should_fail_futex(bool fshared) in should_fail_futex() argument
334 if (fail_futex.ignore_private && !fshared) in should_fail_futex()
362 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument
542 static int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key() argument
562 if (unlikely(should_fail_futex(fshared))) in get_futex_key()
572 if (!fshared) { in get_futex_key()