Home
last modified time | relevance | path

Searched refs:arch_write_val_locked (Results 1 – 2 of 2) sorted by relevance

/arch/tile/include/asm/
Dspinlock_64.h93 static inline int arch_write_val_locked(int val) in arch_write_val_locked() function
104 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()
/arch/tile/lib/
Dspinlock_64.c93 } while (unlikely(arch_write_val_locked(val))); in __read_lock_failed()
107 if (!arch_write_val_locked(val)) in __write_lock_failed()