/tools/virtio/linux/ |
D | spinlock.h | 8 static inline void spin_lock_init(spinlock_t *lock) in spin_lock_init() 14 static inline void spin_lock(spinlock_t *lock) in spin_lock() 20 static inline void spin_unlock(spinlock_t *lock) in spin_unlock() 26 static inline void spin_lock_bh(spinlock_t *lock) in spin_lock_bh() 31 static inline void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh() 36 static inline void spin_lock_irq(spinlock_t *lock) in spin_lock_irq() 41 static inline void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq() 46 static inline void spin_lock_irqsave(spinlock_t *lock, unsigned long f) in spin_lock_irqsave() 51 static inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long f) in spin_unlock_irqrestore()
|
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | locks.h | 26 static inline void lock_impl_lock(struct lock_impl *lock) in lock_impl_lock() 31 static inline void lock_impl_unlock(struct lock_impl *lock) in lock_impl_unlock() 36 static inline bool lock_impl_trylock(struct lock_impl *lock) in lock_impl_trylock() 47 static inline void lock_impl_init(struct lock_impl *lock) in lock_impl_init() 61 static inline bool lock_impl_trylock(struct lock_impl *lock) in lock_impl_trylock() 79 static inline void lock_impl_lock(struct lock_impl *lock) in lock_impl_lock() 93 static inline void lock_impl_unlock(struct lock_impl *lock) in lock_impl_unlock() 110 static inline void lock_impl_init(struct lock_impl *lock) in lock_impl_init() 131 static inline void spin_lock_init(spinlock_t *lock) in spin_lock_init() 136 static inline void spin_lock(spinlock_t *lock) in spin_lock() [all …]
|
/tools/lib/lockdep/include/liblockdep/ |
D | rwlock.h | 21 static inline int __rwlock_init(liblockdep_pthread_rwlock_t *lock, in __rwlock_init() 31 #define liblockdep_pthread_rwlock_init(lock, attr) \ argument 38 static inline int liblockdep_pthread_rwlock_rdlock(liblockdep_pthread_rwlock_t *lock) in liblockdep_pthread_rwlock_rdlock() 45 static inline int liblockdep_pthread_rwlock_unlock(liblockdep_pthread_rwlock_t *lock) in liblockdep_pthread_rwlock_unlock() 51 static inline int liblockdep_pthread_rwlock_wrlock(liblockdep_pthread_rwlock_t *lock) in liblockdep_pthread_rwlock_wrlock() 57 static inline int liblockdep_pthread_rwlock_tryrdlock(liblockdep_pthread_rwlock_t *lock) in liblockdep_pthread_rwlock_tryrdlock() 63 static inline int liblockdep_pthread_rwlock_trywrlock(liblockdep_pthread_rwlock_t *lock) in liblockdep_pthread_rwlock_trywrlock() 69 static inline int liblockdep_rwlock_destroy(liblockdep_pthread_rwlock_t *lock) in liblockdep_rwlock_destroy()
|
D | mutex.h | 22 static inline int __mutex_init(liblockdep_pthread_mutex_t *lock, in __mutex_init() 37 static inline int liblockdep_pthread_mutex_lock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_lock() 43 static inline int liblockdep_pthread_mutex_unlock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_unlock() 49 static inline int liblockdep_pthread_mutex_trylock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_trylock() 55 static inline int liblockdep_pthread_mutex_destroy(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_destroy()
|
/tools/virtio/ringtest/ |
D | ptr_ring.c | 64 static void spin_lock_init(spinlock_t *lock) in spin_lock_init() 70 static void spin_lock(spinlock_t *lock) in spin_lock() 76 static void spin_unlock(spinlock_t *lock) in spin_unlock() 82 static void spin_lock_bh(spinlock_t *lock) in spin_lock_bh() 87 static void spin_unlock_bh(spinlock_t *lock) in spin_unlock_bh() 92 static void spin_lock_irq(spinlock_t *lock) in spin_lock_irq() 97 static void spin_unlock_irq(spinlock_t *lock) in spin_unlock_irq() 102 static void spin_lock_irqsave(spinlock_t *lock, unsigned long f) in spin_lock_irqsave() 107 static void spin_unlock_irqrestore(spinlock_t *lock, unsigned long f) in spin_unlock_irqrestore()
|
/tools/testing/radix-tree/linux/ |
D | local_lock.h | 5 static inline void local_lock(local_lock_t *lock) { } in local_lock() 6 static inline void local_unlock(local_lock_t *lock) { } in local_unlock()
|
D | lockdep.h | 7 static inline void lockdep_set_class(spinlock_t *lock, in lockdep_set_class()
|
/tools/testing/selftests/bpf/progs/ |
D | test_spin_lock.c | 9 struct bpf_spin_lock lock; member 21 struct bpf_spin_lock lock; member 32 struct bpf_spin_lock lock; member
|
D | test_map_lock.c | 10 struct bpf_spin_lock lock; member 22 struct bpf_spin_lock lock; member
|
D | freplace_attach_probe.c | 12 struct bpf_spin_lock lock; member
|
D | local_storage.c | 23 struct bpf_spin_lock lock; member
|
/tools/lib/lockdep/ |
D | preload.c | 101 static struct rb_node **__get_lock_node(void *lock, struct rb_node **parent) in __get_lock_node() 130 static inline bool is_static_lock(struct lock_lookup *lock) in is_static_lock() 162 static inline void free_lock(struct lock_lookup *lock) in free_lock() 175 static struct lock_lookup *__get_lock(void *lock) in __get_lock() 212 static void __del_lock(struct lock_lookup *lock) in __del_lock()
|
/tools/testing/selftests/timens/ |
D | clock_nanosleep.c | 27 pthread_mutex_t *lock; member 46 pthread_mutex_t lock; in run_test() local
|
/tools/perf/util/ |
D | rwsem.h | 7 pthread_rwlock_t lock; member
|
D | dsos.h | 21 struct rw_semaphore lock; member
|
D | maps.h | 30 struct rw_semaphore lock; member
|
/tools/testing/selftests/rseq/ |
D | basic_percpu_ops_test.c | 28 struct percpu_lock lock; member 47 int rseq_this_cpu_lock(struct percpu_lock *lock) in rseq_this_cpu_lock() 69 void rseq_percpu_unlock(struct percpu_lock *lock, int cpu) in rseq_percpu_unlock()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 168 int lock; in insert_close_thread() member 285 int lock; in update_thread() member 464 int lock; in test_sk_storage_map_basic() member
|
/tools/arch/x86/include/asm/ |
D | cmpxchg.h | 35 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
|
/tools/testing/selftests/futex/functional/ |
D | futex_requeue_pi.c | 52 int lock; member 278 int unit_test(int broadcast, long lock, int third_party_owner, long timeout_ns) in unit_test()
|
D | futex_wait_timeout.c | 45 volatile futex_t lock = 0; in get_pi_lock() local
|
/tools/testing/radix-tree/ |
D | regression1.c | 49 pthread_mutex_t lock; member
|
D | linux.c | 21 pthread_mutex_t lock; member
|
/tools/testing/selftests/bpf/prog_tests/ |
D | test_local_storage.c | 34 struct bpf_spin_lock lock; member
|
/tools/testing/selftests/sync/ |
D | sync_stress_consumer.c | 60 pthread_mutex_t lock; member
|