Lines Matching refs:atomic_long_read
108 #c, atomic_long_read(&(sem)->count), \
110 atomic_long_read(&(sem)->owner), (long)current, \
189 return atomic_long_read(&sem->owner) & flags;
206 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE);
225 long count = atomic_long_read(&sem->count);
242 unsigned long val = atomic_long_read(&sem->owner);
262 unsigned long owner = atomic_long_read(&sem->owner);
287 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK);
297 unsigned long owner = atomic_long_read(&sem->owner);
435 if (unlikely(atomic_long_read(&sem->count) < 0))
526 if (woken && (atomic_long_read(&sem->count) & RWSEM_FLAG_HANDOFF))
569 count = atomic_long_read(&sem->count);
611 long count = atomic_long_read(&sem->count);
633 long count = atomic_long_read(&sem->count);
774 long count = atomic_long_read(&sem->count);
947 unsigned long owner = atomic_long_read(&sem->owner);
1003 waiter.last_rowner = atomic_long_read(&sem->owner);
1021 if ((atomic_long_read(&sem->count) & RWSEM_FLAG_WAITERS)) {
1048 if (adjustment && !(atomic_long_read(&sem->count) &
1065 count = atomic_long_read(&sem->count);
1157 disable_rspin = atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE;
1176 count = atomic_long_read(&sem->count);
1249 count = atomic_long_read(&sem->count);