Lines Matching refs:atomic_long_read
72 #c, atomic_long_read(&(sem)->count), \
74 atomic_long_read(&(sem)->owner), (long)current, \
158 return atomic_long_read(&sem->owner) & flags;
175 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE);
192 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK);
203 long count = atomic_long_read(&sem->count);
218 unsigned long val = atomic_long_read(&sem->owner);
238 unsigned long owner = atomic_long_read(&sem->owner);
283 unsigned long owner = atomic_long_read(&sem->owner);
445 if (unlikely(atomic_long_read(&sem->count) < 0))
526 oldcount = atomic_long_read(&sem->count);
611 count = atomic_long_read(&sem->count);
691 long count = atomic_long_read(&sem->count);
805 long count = atomic_long_read(&sem->count);
1005 if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) &&
1045 if (!(atomic_long_read(&sem->count) & RWSEM_WRITER_MASK)) {
1136 rwsem_cond_wake_waiter(sem, atomic_long_read(&sem->count),
1295 tmp = atomic_long_read(&sem->count);