Home
last modified time | relevance | path

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

/drivers/tty/
Dtty_ldsem.c77 static inline long ldsem_atomic_update(long delta, struct ld_semaphore *sem) in ldsem_atomic_update() function
130 count = ldsem_atomic_update(adjust, sem); in __ldsem_wake_readers()
154 long count = ldsem_atomic_update(LDSEM_ACTIVE_BIAS, sem); in writer_trylock()
252 ldsem_atomic_update(-LDSEM_WAIT_BIAS, sem); in down_read_failed()
307 ldsem_atomic_update(-LDSEM_WAIT_BIAS, sem); in down_write_failed()
328 count = ldsem_atomic_update(LDSEM_READ_BIAS, sem); in __ldsem_down_read_nested()
347 count = ldsem_atomic_update(LDSEM_WRITE_BIAS, sem); in __ldsem_down_write_nested()
421 count = ldsem_atomic_update(-LDSEM_READ_BIAS, sem); in ldsem_up_read()
435 count = ldsem_atomic_update(-LDSEM_WRITE_BIAS, sem); in ldsem_up_write()