RWSEM_READER_OWNED
if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) &&
unsigned long val = (unsigned long)owner | RWSEM_READER_OWNED |
return rwsem_test_oflags(sem, RWSEM_READER_OWNED);
if (!(owner & RWSEM_READER_OWNED))
#define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
(owner && !(flags & RWSEM_READER_OWNED) && !owner_on_cpu(owner)))
if (flags & RWSEM_READER_OWNED)