Searched refs:RW_LOCK_BIAS (Results 1 – 2 of 2) sorted by relevance
18 #define RW_LOCK_BIAS 0x01000000 macro21 #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS }
149 #define __raw_write_can_lock(x) ((x)->lock == RW_LOCK_BIAS)313 if (atomic_sub_and_test(RW_LOCK_BIAS, count)) in __raw_write_trylock()315 atomic_add(RW_LOCK_BIAS, count); in __raw_write_trylock()