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