Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/
Dtty_ldsem.c46 #define LDSEM_READ_BIAS LDSEM_ACTIVE_BIAS macro
302 count = atomic_long_add_return(LDSEM_READ_BIAS, &sem->count); in __ldsem_down_read_nested()
351 if (atomic_long_try_cmpxchg(&sem->count, &count, count + LDSEM_READ_BIAS)) { in ldsem_down_read_trylock()
395 count = atomic_long_add_return(-LDSEM_READ_BIAS, &sem->count); in ldsem_up_read()