Searched refs:arch_read_can_lock (Results 1 – 20 of 20) sorted by relevance
87 static inline int arch_read_can_lock(arch_rwlock_t *rwlock) in arch_read_can_lock() function
102 static inline int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
228 static inline int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
175 static inline int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
57 static inline int arch_read_can_lock(arch_rwlock_t *lock) in arch_read_can_lock() function
216 #define arch_read_can_lock(rw) (!((rw)->lock & 0x80000000UL)) macro
195 #define arch_read_can_lock(rw) (!((rw)->lock & 0xff)) macro
103 #define arch_read_can_lock(x) ((x)->lock > 0) macro
55 static inline int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
104 #define arch_read_can_lock(x) ((int)(x)->lock > 0) macro
329 #define arch_read_can_lock(x) ((x)->lock < 0x80000000) macro
144 #define arch_read_can_lock(x) ((int)(x)->lock > 0) macro
173 static __inline__ int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
183 #define arch_read_can_lock(rw) ((rw)->lock >= 0) macro
278 #define arch_read_can_lock(x) (ACCESS_ONCE((x)->lock) < 0x80000000) macro
221 #define arch_read_can_lock(rw) ((rw)->lock >= 0) macro
117 #define arch_read_can_lock(x) ((int)(x)->lock >= 0) macro
147 #define arch_read_can_lock(rw) (*(volatile int *)(rw) >= 0) macro
681 #define arch_read_can_lock(x) ((x)->counter > 0) macro