Searched refs:arch_write_val_locked (Results 1 – 2 of 2) sorted by relevance
93 static inline int arch_write_val_locked(int val) in arch_write_val_locked() function104 return !arch_write_val_locked(rw->lock); in arch_read_can_lock()121 if (unlikely(arch_write_val_locked(val))) in arch_read_lock()148 return !arch_write_val_locked(__insn_fetchaddgez4(&rw->lock, 1)); in arch_read_trylock()156 if (!arch_write_val_locked(val)) in arch_write_trylock()
93 } while (unlikely(arch_write_val_locked(val))); in __read_lock_failed()107 if (!arch_write_val_locked(val)) in __write_lock_failed()