Searched refs:RWSEM_ACTIVE_WRITE_BIAS (Results 1 – 5 of 5) sorted by relevance
30 #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) macro71 tmp = atomic_long_add_return_acquire(RWSEM_ACTIVE_WRITE_BIAS, in __down_write()73 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write()81 tmp = atomic_long_add_return_acquire(RWSEM_ACTIVE_WRITE_BIAS, in __down_write_killable()83 if (unlikely(tmp != RWSEM_ACTIVE_WRITE_BIAS)) in __down_write_killable()94 RWSEM_ACTIVE_WRITE_BIAS); in __down_write_trylock()115 if (unlikely(atomic_long_sub_return_release(RWSEM_ACTIVE_WRITE_BIAS, in __up_write()
23 #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) macro86 sem->count.counter += RWSEM_ACTIVE_WRITE_BIAS; in ___down_write()99 :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); in ___down_write()126 RWSEM_ACTIVE_WRITE_BIAS); in __down_write_trylock()161 sem->count.counter -= RWSEM_ACTIVE_WRITE_BIAS; in __up_write()176 :"Ir" (RWSEM_ACTIVE_WRITE_BIAS), "m" (sem->count) : "memory"); in __up_write()
59 #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) macro135 : [sem] "a" (sem), "[tmp]" (RWSEM_ACTIVE_WRITE_BIAS) \175 : [inc] "er" (RWSEM_ACTIVE_WRITE_BIAS) in __down_write_trylock()212 : [sem] "a" (sem), "[tmp]" (-RWSEM_ACTIVE_WRITE_BIAS) in __up_write()
36 #define RWSEM_ACTIVE_WRITE_BIAS (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS) macro76 new = old + RWSEM_ACTIVE_WRITE_BIAS; in ___down_write()122 new = old - RWSEM_ACTIVE_WRITE_BIAS; in __up_write()151 RWSEM_UNLOCKED_VALUE, RWSEM_ACTIVE_WRITE_BIAS); in __down_write_trylock()
315 RWSEM_ACTIVE_WRITE_BIAS : in rwsem_try_write_lock()316 RWSEM_ACTIVE_WRITE_BIAS + RWSEM_WAITING_BIAS; in rwsem_try_write_lock()340 count + RWSEM_ACTIVE_WRITE_BIAS); in rwsem_try_write_lock_unqueued()504 count = atomic_long_sub_return(RWSEM_ACTIVE_WRITE_BIAS, &sem->count); in __rwsem_down_write_failed_common()