Home
last modified time | relevance | path

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

/Linux-v4.19/include/asm-generic/
Drwsem.h26 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
93 tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
95 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
/Linux-v4.19/arch/ia64/include/asm/
Drwsem.h31 #define RWSEM_UNLOCKED_VALUE __IA64_UL_CONST(0x0000000000000000) macro
151 RWSEM_UNLOCKED_VALUE, RWSEM_ACTIVE_WRITE_BIAS); in __down_write_trylock()
152 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
/Linux-v4.19/arch/alpha/include/asm/
Drwsem.h18 #define RWSEM_UNLOCKED_VALUE 0x0000000000000000L macro
125 long ret = atomic_long_cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()
127 if (ret == RWSEM_UNLOCKED_VALUE) in __down_write_trylock()
/Linux-v4.19/include/linux/
Drwsem.h27 #define __RWSEM_INIT_COUNT(name) .count = RWSEM_UNLOCKED_VALUE
69 #define __RWSEM_INIT_COUNT(name) .count = ATOMIC_LONG_INIT(RWSEM_UNLOCKED_VALUE)
Drwsem-spinlock.h33 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro
/Linux-v4.19/arch/x86/include/asm/
Drwsem.h55 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
/Linux-v4.19/kernel/locking/
Drwsem-xadd.c86 atomic_long_set(&sem->count, RWSEM_UNLOCKED_VALUE); in __init_rwsem()