Home
last modified time | relevance | path

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

/linux/drivers/tty/
A Dtty_ldsem.c45 #define LDSEM_WAIT_BIAS (-LDSEM_ACTIVE_MASK-1) macro
47 #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()

Completed in 3 milliseconds