Home
last modified time | relevance | path

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

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