Home
last modified time | relevance | path

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

/linux/tools/perf/bench/
H A Dfutex-wake.c58 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
176 if (!params.fshared) in bench_futex_wake()
181 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake()
H A Dfutex-hash.c63 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
166 if (!params.fshared) in bench_futex_hash()
171 … getpid(), params.nthreads, params.nfutexes, params.fshared ? "shared":"private", params.runtime); in bench_futex_hash()
H A Dfutex-requeue.c58 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
201 if (!params.fshared) in bench_futex_requeue()
214 params.fshared ? "shared":"private", &futex1, in bench_futex_requeue()
H A Dfutex-wake-parallel.c69 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
295 if (!params.fshared) in bench_futex_wake_parallel()
302 getpid(), params.nthreads, params.fshared ? "shared":"private", in bench_futex_wake_parallel()
H A Dfutex-lock-pi.c54 OPT_BOOLEAN( 'S', "shared", &params.fshared, "Use shared futexes instead of private ones"),
199 if (!params.fshared) in bench_futex_lock_pi()
H A Dfutex.h19 bool fshared; member
/linux/kernel/futex/
H A Dcore.c95 bool should_fail_futex(bool fshared) in should_fail_futex() argument
97 if (fail_futex.ignore_private && !fshared) in should_fail_futex()
558 bool fshared; in get_futex_key() local
560 fshared = flags & FLAGS_SHARED; in get_futex_key()
576 if (unlikely(should_fail_futex(fshared))) in get_futex_key()
617 if (!fshared) { in get_futex_key()