Home
last modified time | relevance | path

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

/Linux-v4.19/include/asm-generic/
Drwsem.h21 # define RWSEM_ACTIVE_MASK 0xffffffffL macro
23 # define RWSEM_ACTIVE_MASK 0x0000ffffL macro
28 #define RWSEM_WAITING_BIAS (-RWSEM_ACTIVE_MASK-1)
106 if (unlikely(tmp < -1 && (tmp & RWSEM_ACTIVE_MASK) == 0)) in __up_read()
/Linux-v4.19/arch/x86/include/asm/
Drwsem.h50 # define RWSEM_ACTIVE_MASK 0xffffffffL macro
52 # define RWSEM_ACTIVE_MASK 0x0000ffffL macro
57 #define RWSEM_WAITING_BIAS (-RWSEM_ACTIVE_MASK-1)
/Linux-v4.19/arch/ia64/include/asm/
Drwsem.h33 #define RWSEM_ACTIVE_MASK (0xffffffffL) macro
108 if (result < 0 && (--result & RWSEM_ACTIVE_MASK) == 0) in __up_read()
125 if (new < 0 && (new & RWSEM_ACTIVE_MASK) == 0) in __up_write()
/Linux-v4.19/arch/alpha/include/asm/
Drwsem.h20 #define RWSEM_ACTIVE_MASK 0x00000000ffffffffL macro
/Linux-v4.19/kernel/locking/
Drwsem-xadd.c568 } while ((count = atomic_long_read(&sem->count)) & RWSEM_ACTIVE_MASK); in __rwsem_down_write_failed_common()