Searched refs:RWSEM_ACTIVE_MASK (Results 1 – 5 of 5) sorted by relevance
21 # define RWSEM_ACTIVE_MASK 0xffffffffL macro23 # define RWSEM_ACTIVE_MASK 0x0000ffffL macro28 #define RWSEM_WAITING_BIAS (-RWSEM_ACTIVE_MASK-1)106 if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) in __up_read()
50 # define RWSEM_ACTIVE_MASK 0xffffffffL macro52 # define RWSEM_ACTIVE_MASK 0x0000ffffL macro57 #define RWSEM_WAITING_BIAS (-RWSEM_ACTIVE_MASK-1)
33 #define RWSEM_ACTIVE_MASK (0xffffffffL) macro108 if (result < 0 && (--result & RWSEM_ACTIVE_MASK) == 0) in __up_read()125 if (new < 0 && (new & RWSEM_ACTIVE_MASK) == 0) in __up_write()
20 #define RWSEM_ACTIVE_MASK 0x00000000ffffffffL macro
568 } while ((count = atomic_long_read(&sem->count)) & RWSEM_ACTIVE_MASK); in __rwsem_down_write_failed_common()