Lines Matching refs:atomic
471 extern int _atomic_dec_and_lock(atomic_t *atomic, spinlock_t *lock);
472 #define atomic_dec_and_lock(atomic, lock) \ argument
473 __cond_lock(lock, _atomic_dec_and_lock(atomic, lock))
475 extern int _atomic_dec_and_lock_irqsave(atomic_t *atomic, spinlock_t *lock,
477 #define atomic_dec_and_lock_irqsave(atomic, lock, flags) \ argument
478 __cond_lock(lock, _atomic_dec_and_lock_irqsave(atomic, lock, &(flags)))
480 extern int _atomic_dec_and_raw_lock(atomic_t *atomic, raw_spinlock_t *lock);
481 #define atomic_dec_and_raw_lock(atomic, lock) \ argument
482 __cond_lock(lock, _atomic_dec_and_raw_lock(atomic, lock))
484 extern int _atomic_dec_and_raw_lock_irqsave(atomic_t *atomic, raw_spinlock_t *lock,
486 #define atomic_dec_and_raw_lock_irqsave(atomic, lock, flags) \ argument
487 __cond_lock(lock, _atomic_dec_and_raw_lock_irqsave(atomic, lock, &(flags)))