Searched refs:_QR_BIAS (Results 1 – 2 of 2) sorted by relevance
25 #define _QR_BIAS (1U << _QR_SHIFT) macro44 cnts = (u32)atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_trylock()47 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_trylock()76 cnts = atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_lock()107 (void)atomic_sub_return_release(_QR_BIAS, &lock->cnts); in queued_read_unlock()
36 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()42 atomic_add(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()