Home
last modified time | relevance | path

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

/linux-4.1.27/arch/xtensa/include/asm/
Drwsem.h20 #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.1.27/arch/sparc/include/asm/
Drwsem.h16 #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.1.27/arch/sh/include/asm/
Drwsem.h15 #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.1.27/include/asm-generic/
Drwsem.h25 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
75 tmp = cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
77 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
/linux-4.1.27/arch/ia64/include/asm/
Drwsem.h30 #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.1.27/arch/alpha/include/asm/
Drwsem.h17 #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.1.27/arch/s390/include/asm/
Drwsem.h42 #define RWSEM_UNLOCKED_VALUE 0x0000000000000000L macro
133 return (old == RWSEM_UNLOCKED_VALUE) ? 1 : 0; in __down_write_trylock()
/linux-4.1.27/include/linux/
Drwsem-spinlock.h32 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro
Drwsem.h75 { .count = RWSEM_UNLOCKED_VALUE, \
/linux-4.1.27/arch/x86/include/asm/
Drwsem.h54 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
/linux-4.1.27/kernel/locking/
Drwsem-xadd.c83 sem->count = RWSEM_UNLOCKED_VALUE; in __init_rwsem()