Home
last modified time | relevance | path

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

/linux/drivers/tty/
A Dtty_ldsem.c38 # define LDSEM_ACTIVE_MASK 0xffffffffL macro
40 # define LDSEM_ACTIVE_MASK 0x0000ffffL macro
45 #define LDSEM_WAIT_BIAS (-LDSEM_ACTIVE_MASK-1)
112 if ((count & LDSEM_ACTIVE_MASK) == LDSEM_ACTIVE_BIAS) in writer_trylock()
187 if ((count & LDSEM_ACTIVE_MASK) == 0) in down_read_failed()
247 if ((count & LDSEM_ACTIVE_MASK) == LDSEM_ACTIVE_BIAS) { in down_write_failed()
322 if ((count & LDSEM_ACTIVE_MASK) != LDSEM_ACTIVE_BIAS) { in __ldsem_down_write_nested()
376 while ((count & LDSEM_ACTIVE_MASK) == 0) { in ldsem_down_write_trylock()
396 if (count < 0 && (count & LDSEM_ACTIVE_MASK) == 0) in ldsem_up_read()

Completed in 4 milliseconds