Home
last modified time | relevance | path

Searched refs:spinlock_t (Results 1 – 14 of 14) sorted by relevance

/tools/virtio/ringtest/
Dptr_ring.c22 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/
Dlocks.h125 } 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/
DISA2+pooncelock+pooncelock+pombonce.litmus12 P0(int *x, int *y, spinlock_t *mylock)
20 P1(int *y, int *z, spinlock_t *mylock)
DMP+polockonce+poacquiresilsil.litmus16 P0(spinlock_t *lo, int *x)
23 P1(spinlock_t *lo, int *x)
DZ6.0+pooncelock+poonceLock+pombonce.litmus14 P0(int *x, int *y, spinlock_t *mylock)
22 P1(int *y, int *z, spinlock_t *mylock)
DMP+polockmbonce+poacquiresilsil.litmus16 P0(spinlock_t *lo, int *x)
24 P1(spinlock_t *lo, int *x)
DZ6.0+pooncelock+pooncelock+pombonce.litmus13 P0(int *x, int *y, spinlock_t *mylock)
21 P1(int *y, int *z, spinlock_t *mylock)
DMP+polocks.litmus16 P0(int *x, int *y, spinlock_t *mylock)
24 P1(int *x, int *y, spinlock_t *mylock)
DMP+porevlocks.litmus16 P0(int *x, int *y, spinlock_t *mylock)
27 P1(int *x, int *y, spinlock_t *mylock)
/tools/testing/radix-tree/linux/
Dlockdep.h7 static inline void lockdep_set_class(spinlock_t *lock, in lockdep_set_class()
/tools/include/linux/
Dspinlock.h8 #define spinlock_t pthread_mutex_t macro
/tools/testing/nvdimm/test/
Dnfit_test.h23 spinlock_t lock;
Dnfit.c207 spinlock_t lock;
/tools/memory-model/Documentation/
Dexplanation.txt1764 to concepts we have already covered. A spinlock_t variable is treated
1803 spinlock_t s;
1860 spinlock_t x;