Searched refs:arch_read_can_lock (Results 1 – 19 of 19) sorted by relevance
125 if (!arch_read_can_lock(rw)) in _raw_read_lock_wait()145 if (!arch_read_can_lock(rw)) in _raw_read_lock_wait_flags()161 if (!arch_read_can_lock(rw)) in _raw_read_trylock_retry()
83 static inline int arch_read_can_lock(arch_rwlock_t *rwlock) in arch_read_can_lock() function
99 static inline int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
87 static inline int arch_read_can_lock(arch_rwlock_t *rwlock) in arch_read_can_lock() function
52 static inline int arch_read_can_lock(arch_rwlock_t *lock) in arch_read_can_lock() function
103 #define arch_read_can_lock(x) ((x)->lock > 0) macro
216 #define arch_read_can_lock(rw) (!((rw)->lock & 0x80000000UL)) macro
195 #define arch_read_can_lock(rw) (!((rw)->lock & 0xff)) 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
59 static inline int arch_read_can_lock(arch_rwlock_t *x) in arch_read_can_lock() function
144 #define arch_read_can_lock(x) ((int)(x)->lock > 0) macro
259 #define arch_read_can_lock(x) ((x)->lock < 0x80000000) macro
100 #define arch_read_can_lock(x) ((int)(x)->lock >= 0) macro
177 static __inline__ int arch_read_can_lock(arch_rwlock_t *rw) in arch_read_can_lock() function
170 #define arch_read_can_lock(rw) ((rw)->lock >= 0) macro
161 static inline int arch_read_can_lock(arch_rwlock_t *lock) in arch_read_can_lock() function
219 #define arch_read_can_lock(rw) ((rw)->lock >= 0) macro
142 #define arch_read_can_lock(rw) (*(volatile int *)(rw) >= 0) macro