Searched refs:WRITER_BIAS (Results 1 – 2 of 2) sorted by relevance
79 if (atomic_read(&rwb->readers) != WRITER_BIAS) { in __rwbase_read_lock()206 __rwbase_write_unlock(rwb, WRITER_BIAS, flags); in rwbase_write_unlock()216 __rwbase_write_unlock(rwb, WRITER_BIAS - 1, flags); in rwbase_write_downgrade()229 atomic_set(&rwb->readers, WRITER_BIAS); in __rwbase_write_trylock()
9 #define WRITER_BIAS (1U << 30) macro