Searched refs:_QR_BIAS (Results 1 – 2 of 2) sorted by relevance
34 #define _QR_BIAS (1U << _QR_SHIFT) macro71 cnts = (u32)atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_trylock()74 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_trylock()103 cnts = atomic_add_return_acquire(_QR_BIAS, &lock->cnts); in queued_read_lock()133 (void)atomic_sub_return_release(_QR_BIAS, &lock->cnts); in queued_read_unlock()
84 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()96 cnts = atomic_add_return_acquire(_QR_BIAS, &lock->cnts) - _QR_BIAS; in queued_read_lock_slowpath()