Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Drwbase_rt.c79 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()
/linux/include/linux/
A Drwbase_rt.h9 #define WRITER_BIAS (1U << 30) macro

Completed in 3 milliseconds