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.c98 bool should_fail_futex(bool fshared) in should_fail_futex()
100 if (fail_futex.ignore_private && !fshared) in should_fail_futex()
487 * For shared mappings (when @fshared), the key is:
493 * For private mappings (or when !@fshared), the key is:
512 bool fshared; in get_inode_sequence_number()
514 fshared = flags & FLAGS_SHARED; in get_inode_sequence_number()
530 if (unlikely(should_fail_futex(fshared)))
571 if (!fshared) { in get_futex_key()
95 should_fail_futex(bool fshared) should_fail_futex() argument
558 bool fshared; get_futex_key() local