Searched refs:RWSEM_UNLOCKED_VALUE (Results 1 – 7 of 7) sorted by relevance
26 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro93 tmp = atomic_long_cmpxchg_acquire(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()95 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
31 #define RWSEM_UNLOCKED_VALUE __IA64_UL_CONST(0x0000000000000000) macro151 RWSEM_UNLOCKED_VALUE, RWSEM_ACTIVE_WRITE_BIAS); in __down_write_trylock()152 return tmp == RWSEM_UNLOCKED_VALUE; in __down_write_trylock()
18 #define RWSEM_UNLOCKED_VALUE 0x0000000000000000L macro125 long ret = atomic_long_cmpxchg(&sem->count, RWSEM_UNLOCKED_VALUE, in __down_write_trylock()127 if (ret == RWSEM_UNLOCKED_VALUE) in __down_write_trylock()
27 #define __RWSEM_INIT_COUNT(name) .count = RWSEM_UNLOCKED_VALUE69 #define __RWSEM_INIT_COUNT(name) .count = ATOMIC_LONG_INIT(RWSEM_UNLOCKED_VALUE)
33 #define RWSEM_UNLOCKED_VALUE 0x00000000 macro
55 #define RWSEM_UNLOCKED_VALUE 0x00000000L macro
86 atomic_long_set(&sem->count, RWSEM_UNLOCKED_VALUE); in __init_rwsem()