Lines Matching refs:atomic_long_read
109 #c, atomic_long_read(&(sem)->count), \
111 atomic_long_read(&(sem)->owner), (long)current, \
190 return atomic_long_read(&sem->owner) & flags; in rwsem_test_oflags()
207 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE); in __rwsem_set_reader_owned()
226 long count = atomic_long_read(&sem->count); in is_rwsem_reader_owned()
243 unsigned long val = atomic_long_read(&sem->owner); in rwsem_clear_reader_owned()
263 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_set_nonspinnable()
288 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
298 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_owner_flags()
436 if (unlikely(atomic_long_read(&sem->count) < 0)) in rwsem_mark_wake()
527 if (woken && (atomic_long_read(&sem->count) & RWSEM_FLAG_HANDOFF)) in rwsem_mark_wake()
570 count = atomic_long_read(&sem->count); in rwsem_try_write_lock()
612 long count = atomic_long_read(&sem->count); in rwsem_try_read_lock_unqueued()
634 long count = atomic_long_read(&sem->count); in rwsem_try_write_lock_unqueued()
777 long count = atomic_long_read(&sem->count); in rwsem_rspin_threshold()
950 unsigned long owner = atomic_long_read(&sem->owner); in rwsem_reader_phase_trylock()
1006 waiter.last_rowner = atomic_long_read(&sem->owner); in rwsem_down_read_slowpath()
1024 if ((atomic_long_read(&sem->count) & RWSEM_FLAG_WAITERS)) { in rwsem_down_read_slowpath()
1051 if (adjustment && !(atomic_long_read(&sem->count) & in rwsem_down_read_slowpath()
1068 count = atomic_long_read(&sem->count); in rwsem_down_read_slowpath()
1160 disable_rspin = atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE; in rwsem_down_write_slowpath()
1179 count = atomic_long_read(&sem->count); in rwsem_down_write_slowpath()
1252 count = atomic_long_read(&sem->count); in rwsem_down_write_slowpath()