Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/perf/bench/
Dfutex-wake.c42 static bool done = false, silent = false, fshared = false; variable
53 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"),
151 if (!fshared) in bench_futex_wake()
156 getpid(), nthreads, fshared ? "shared":"private", &futex1, nwakes); in bench_futex_wake()
Dfutex-requeue.c41 static bool done = false, silent = false, fshared = false; variable
52 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"),
143 if (!fshared) in bench_futex_requeue()
151 fshared ? "shared":"private", &futex1, &futex2, nrequeue); in bench_futex_requeue()
Dfutex-hash.c37 static bool fshared = false, done = false, silent = false; variable
58 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"),
152 if (!fshared) in bench_futex_hash()
156 getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs); in bench_futex_hash()
Dfutex-wake-parallel.c51 static bool done = false, silent = false, fshared = false; variable
64 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"),
265 if (!fshared) in bench_futex_wake_parallel()
270 getpid(), nblocked_threads, fshared ? "shared":"private", in bench_futex_wake_parallel()
Dfutex-lock-pi.c37 static bool done = false, fshared = false; variable
50 OPT_BOOLEAN( 'S', "shared", &fshared, "Use shared futexes instead of private ones"),
175 if (!fshared) in bench_futex_lock_pi()
/kernel/linux/linux-5.10/kernel/futex/
Dcore.c274 static bool should_fail_futex(bool fshared) in should_fail_futex() argument
276 if (fail_futex.ignore_private && !fshared) in should_fail_futex()
304 static inline bool should_fail_futex(bool fshared) in should_fail_futex() argument
486 static int get_futex_key(u32 __user *uaddr, bool fshared, union futex_key *key, in get_futex_key() argument
506 if (unlikely(should_fail_futex(fshared))) in get_futex_key()
516 if (!fshared) { in get_futex_key()