Searched refs:fshared (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/perf/bench/ |
| H A D | futex-wake.c | 58 OPT_BOOLEAN( 'S', "shared", ¶ms.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 D | futex-hash.c | 63 OPT_BOOLEAN( 'S', "shared", ¶ms.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 D | futex-requeue.c | 58 OPT_BOOLEAN( 'S', "shared", ¶ms.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 D | futex-wake-parallel.c | 69 OPT_BOOLEAN( 'S', "shared", ¶ms.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 D | futex-lock-pi.c | 54 OPT_BOOLEAN( 'S', "shared", ¶ms.fshared, "Use shared futexes instead of private ones"), 199 if (!params.fshared) in bench_futex_lock_pi()
|
| H A D | futex.h | 19 bool fshared; member
|
| /linux/kernel/futex/ |
| H A D | core.c | 98 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
|