Searched refs:spinlock_t (Results 1 – 14 of 14) sorted by relevance
/tools/virtio/ringtest/ |
D | ptr_ring.c | 22 typedef pthread_spinlock_t spinlock_t; typedef 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/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | locks.h | 125 } spinlock_t; typedef 129 #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED 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() 148 static inline void spin_unlock(spinlock_t *lock) in spin_unlock() 166 static inline bool spin_trylock(spinlock_t *lock) in spin_trylock()
|
/tools/memory-model/litmus-tests/ |
D | ISA2+pooncelock+pooncelock+pombonce.litmus | 12 P0(int *x, int *y, spinlock_t *mylock) 20 P1(int *y, int *z, spinlock_t *mylock)
|
D | MP+polockonce+poacquiresilsil.litmus | 16 P0(spinlock_t *lo, int *x) 23 P1(spinlock_t *lo, int *x)
|
D | Z6.0+pooncelock+poonceLock+pombonce.litmus | 14 P0(int *x, int *y, spinlock_t *mylock) 22 P1(int *y, int *z, spinlock_t *mylock)
|
D | MP+polockmbonce+poacquiresilsil.litmus | 16 P0(spinlock_t *lo, int *x) 24 P1(spinlock_t *lo, int *x)
|
D | Z6.0+pooncelock+pooncelock+pombonce.litmus | 13 P0(int *x, int *y, spinlock_t *mylock) 21 P1(int *y, int *z, spinlock_t *mylock)
|
D | MP+polocks.litmus | 16 P0(int *x, int *y, spinlock_t *mylock) 24 P1(int *x, int *y, spinlock_t *mylock)
|
D | MP+porevlocks.litmus | 16 P0(int *x, int *y, spinlock_t *mylock) 27 P1(int *x, int *y, spinlock_t *mylock)
|
/tools/testing/radix-tree/linux/ |
D | lockdep.h | 7 static inline void lockdep_set_class(spinlock_t *lock, in lockdep_set_class()
|
/tools/include/linux/ |
D | spinlock.h | 8 #define spinlock_t pthread_mutex_t macro
|
/tools/testing/nvdimm/test/ |
D | nfit_test.h | 23 spinlock_t lock;
|
D | nfit.c | 207 spinlock_t lock;
|
/tools/memory-model/Documentation/ |
D | explanation.txt | 1764 to concepts we have already covered. A spinlock_t variable is treated 1803 spinlock_t s; 1860 spinlock_t x;
|