Home
last modified time | relevance | path

Searched refs:locks (Results 1 – 19 of 19) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dres_spin_lock.c87 struct bpf_res_spin_lock *locks[48] = {}; in res_spin_lock_test_held_lock_max() local
92 _Static_assert(ARRAY_SIZE(((struct rqspinlock_held){}).locks) == 31, in res_spin_lock_test_held_lock_max()
104 locks[i] = &e->lock; in res_spin_lock_test_held_lock_max()
116 locks[i] = &e->lock; in res_spin_lock_test_held_lock_max()
121 if (bpf_res_spin_lock(locks[i])) in res_spin_lock_test_held_lock_max()
128 ret = bpf_res_spin_lock(locks[34]); in res_spin_lock_test_held_lock_max()
130 bpf_res_spin_unlock(locks[34]); in res_spin_lock_test_held_lock_max()
139 bpf_res_spin_unlock(locks[i]); in res_spin_lock_test_held_lock_max()
A Dtest_helper_restricted.c26 } locks SEC(".maps");
52 lock = bpf_map_lookup_elem(&locks, &key); in spin_lock_work()
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfgraph-multi-filter.tc98 locks_clock_cnt=`function_count locks clock`
99 clock_locks_cnt=`function_count clock locks`
167 check_cnt $locks_clock_cnt locks clock
170 check_cnt $clock_locks_cnt clock locks
/tools/memory-model/
A Dlinux-kernel.bell58 unmatched-locks = Rcu-lock \ domain(matched)
60 and unmatched = unmatched-locks | unmatched-unlocks
62 and unmatched-locks-to-unlocks =
63 [unmatched-locks] ; po ; [unmatched-unlocks]
64 and matched = matched | (unmatched-locks-to-unlocks \
A Dlinux-kernel.cat17 * File "lock.cat" handles locks and is experimental.
18 * It can be replaced by include "cos.cat" for tests that do not use locks.
A Dlock.cat83 empty ([UNMATCHED-LKW] ; loc ; [UNMATCHED-LKW]) \ id as unmatched-locks
/tools/memory-model/litmus-tests/
A DISA2+pooncelock+pooncelock+pombonce.litmus6 * This test shows that write-write ordering provided by locks
A DMP+unlocklockonceonce+fencermbonceonce.litmus8 * the critical sections are protected by different locks.
A DLB+unlocklockonceonce+poacquireonce.litmus8 * critical sections are protected by different locks. Note: Even when a
/tools/perf/Documentation/
A Dperf-lock.txt80 --combine-locks::
194 Note that RW-variant of locks have :R and :W suffix. Names without the
230 Note that it will busy-wait after it gets the lock. Delaying locks can
/tools/perf/util/
A Dmem-events.h55 u32 locks; /* count of 'lock' transactions */ member
A Dmem-events.c660 if (lock & P(LOCK, LOCKED)) stats->locks++; in c2c_decode_stats()
770 stats->locks += add->locks; in c2c_add_stats()
/tools/memory-model/Documentation/
A Dlocking.txt15 variables outside of their corresponding locks should continue reading.
A Dordering.txt531 as reader-writer locks or sequence locks.
A Dsimple.txt45 adding new "little kernel locks".
A Dlitmus-tests.txt499 Potentially infinite loops, such as those used to wait for locks to
562 attention only to those executions in which both locks are actually
A Daccess-marking.txt423 * Wait for pre-existing local locks. One at
A Dexplanation.txt2086 the two locking operations use different locks. Thus we cannot have
/tools/perf/
A Dbuiltin-c2c.c2373 fprintf(out, " Locked Load/Store Operations : %10d\n", stats->locks); in print_c2c__display_stats()
2424 fprintf(out, " Locked Access on shared lines : %10d\n", stats->locks); in print_shared_cacheline_info()

Completed in 27 milliseconds