Searched refs:LDSEM_WAIT_BIAS (Results 1 – 1 of 1) sorted by relevance
45 #define LDSEM_WAIT_BIAS (-LDSEM_ACTIVE_MASK-1) macro47 #define LDSEM_WRITE_BIAS (LDSEM_WAIT_BIAS + LDSEM_ACTIVE_BIAS)85 adjust = sem->wait_readers * (LDSEM_ACTIVE_BIAS - LDSEM_WAIT_BIAS); in __ldsem_wake_readers()159 long adjust = -LDSEM_ACTIVE_BIAS + LDSEM_WAIT_BIAS; in down_read_failed()213 atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count); in down_read_failed()271 atomic_long_add_return(-LDSEM_WAIT_BIAS, &sem->count); in down_write_failed()