Home
last modified time | relevance | path

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

/include/asm-generic/
Dqrwlock.h27 #define _QR_BIAS (1U << _QR_SHIFT) macro
46 cnts = (u32)atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_trylock()
49 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_trylock()
78 cnts = atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_lock()
109 (void)atomic_sub_return_release(_QR_BIAS, &lock->cnts); in queued_read_unlock()