Searched refs:atomic_sub_and_test (Results 1 – 4 of 4) sorted by relevance
200 if (atomic_sub_and_test(RW_LOCK_BIAS, count)) in __raw_write_trylock()
78 static __inline__ int atomic_sub_and_test(int i, atomic_t *v) in atomic_sub_and_test() function
199 #define atomic_sub_and_test(i, v) (atomic_sub_return(i, v) == 0) macro
350 #define atomic_sub_and_test(i, v) (atomic_sub_return((i), (v)) == 0) macro