Home
last modified time | relevance | path

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

/linux/include/asm-generic/
A 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()
/linux/kernel/locking/
A Dqrwlock.c35 atomic_sub(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()
41 atomic_add(_QR_BIAS, &lock->cnts); in queued_read_lock_slowpath()

Completed in 3 milliseconds