Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/tty/
Dtty_ldsem.c70 #define LDSEM_WRITE_BIAS (LDSEM_WAIT_BIAS + LDSEM_ACTIVE_BIAS) macro
334 count = atomic_long_add_return(LDSEM_WRITE_BIAS, &sem->count); in __ldsem_down_write_nested()
390 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_WRITE_BIAS)) { in ldsem_down_write_trylock()
422 count = atomic_long_add_return(-LDSEM_WRITE_BIAS, &sem->count); in ldsem_up_write()