Lines Matching refs:atomic_long_read
70 #c, atomic_long_read(&(sem)->count), \
72 atomic_long_read(&(sem)->owner), (long)current, \
151 return atomic_long_read(&sem->owner) & flags; in rwsem_test_oflags()
168 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); in __rwsem_set_reader_owned()
187 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned()
204 unsigned long val = atomic_long_read(&sem->owner); in rwsem_clear_reader_owned()
224 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_set_nonspinnable()
268 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
278 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_owner_flags()
439 if (unlikely(atomic_long_read(&sem->count) < 0)) in rwsem_mark_wake()
518 oldcount = atomic_long_read(&sem->count); in rwsem_mark_wake()
576 count = atomic_long_read(&sem->count); in rwsem_try_write_lock()
648 long count = atomic_long_read(&sem->count); in rwsem_try_write_lock_unqueued()
775 long count = atomic_long_read(&sem->count); in rwsem_rspin_threshold()
954 if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) && in rwsem_down_read_slowpath()
993 if (!(atomic_long_read(&sem->count) & in rwsem_down_read_slowpath()
1087 count = atomic_long_read(&sem->count); in rwsem_down_write_slowpath()
1251 tmp = atomic_long_read(&sem->count); in __down_read_trylock()