Home
last modified time | relevance | path

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

/linux/tools/perf/bench/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dfutex.h18 bool fshared; member
/linux/kernel/futex/
H A Dcore.c79 bool should_fail_futex(bool fshared) in should_fail_futex() argument
81 if (fail_futex.ignore_private && !fshared) in should_fail_futex()
231 bool fshared; in get_futex_key() local
233 fshared = flags & FLAGS_SHARED; in get_futex_key()
246 if (unlikely(should_fail_futex(fshared))) in get_futex_key()
256 if (!fshared) { in get_futex_key()
H A Dfutex.h103 extern bool should_fail_futex(bool fshared);
105 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument