Home
last modified time | relevance | path

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

/drivers/tty/
Dtty_ldsem.c68 #define LDSEM_WAIT_BIAS (-LDSEM_ACTIVE_MASK-1) macro
70 #define LDSEM_WRITE_BIAS (LDSEM_WAIT_BIAS + LDSEM_ACTIVE_BIAS)
129 adjust = sem->wait_readers * (LDSEM_ACTIVE_BIAS - LDSEM_WAIT_BIAS); in __ldsem_wake_readers()
204 long adjust = -LDSEM_ACTIVE_BIAS + LDSEM_WAIT_BIAS; in down_read_failed()
252 ldsem_atomic_update(-LDSEM_WAIT_BIAS, sem); in down_read_failed()
307 ldsem_atomic_update(-LDSEM_WAIT_BIAS, sem); in down_write_failed()