Lines Matching refs:op
46 #define BUILD_LOCK_OPS(op, locktype) \
47 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \
51 if (likely(do_raw_##op##_trylock(lock))) \
57 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
58 arch_##op##_relax(&lock->raw_lock); \
63 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \
70 if (likely(do_raw_##op##_trylock(lock))) \
77 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\
78 arch_##op##_relax(&lock->raw_lock); \
84 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \
86 _raw_##op##_lock_irqsave(lock); \
89 void __lockfunc __raw_##op##_lock_bh(locktype##_t *lock) \
98 flags = _raw_##op##_lock_irqsave(lock); \