Searched defs:lock (Results 1 – 6 of 6) sorted by relevance
28 raw_spinlock_t lock; member48 raw_spinlock_t *lock = lock_addr(v); in atomic64_read() local61 raw_spinlock_t *lock = lock_addr(v); in atomic64_set() local136 raw_spinlock_t *lock = lock_addr(v); in atomic64_dec_if_positive() local151 raw_spinlock_t *lock = lock_addr(v); in atomic64_cmpxchg() local166 raw_spinlock_t *lock = lock_addr(v); in atomic64_xchg() local180 raw_spinlock_t *lock = lock_addr(v); in atomic64_fetch_add_unless() local
113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock()144 bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) in refcount_dec_and_lock()172 bool refcount_dec_and_lock_irqsave(refcount_t *r, spinlock_t *lock, in refcount_dec_and_lock_irqsave()
21 int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock) in _atomic_dec_and_lock()37 int _atomic_dec_and_lock_irqsave(atomic_t *atomic, spinlock_t *lock, in _atomic_dec_and_lock_irqsave()
46 raw_spinlock_t lock; member
94 spinlock_t lock; /* protects the above */ member
26 spinlock_t lock; member