Searched refs:RWSEM_UNLOCKED_VALUE (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/arch/xtensa/include/asm/ |
D | rwsem.h | 20 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro 71 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 74 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | rwsem.h | 16 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro 67 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 69 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
|
/linux-4.4.14/include/asm-generic/ |
D | rwsem.h | 25 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro 75 tmp = cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 77 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | rwsem.h | 15 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro 66 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 69 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | rwsem.h | 30 #define RWSEM_UNLOCKED_VALUE __IA64_UL_CONST(0x0000000000000000) macro 116 long tmp = cmpxchg_acq(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 118 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | rwsem.h | 17 #define RWSEM_UNLOCKED_VALUE 0x0000000000000000L macro 95 long ret = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock() 97 if (ret == RWSEM_UNLOCKED_VALUE) in __down_write_trylock()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | rwsem.h | 42 #define RWSEM_UNLOCKED_VALUE 0x0000000000000000L macro 133 return (old == RWSEM_UNLOCKED_VALUE) ? 1 : 0; in __down_write_trylock()
|
/linux-4.4.14/include/linux/ |
D | rwsem-spinlock.h | 32 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro
|
D | rwsem.h | 75 { .count = RWSEM_UNLOCKED_VALUE, \
|
/linux-4.4.14/arch/x86/include/asm/ |
D | rwsem.h | 54 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
|
/linux-4.4.14/kernel/locking/ |
D | rwsem-xadd.c | 83 sem->count = RWSEM_UNLOCKED_VALUE; in __init_rwsem()
|