Searched refs:RWSEM_READER_OWNED (Results 1 – 1 of 1) sorted by relevance
65 #define RWSEM_READER_OWNED (1UL << 0) macro67 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)170 unsigned long val = (unsigned long)owner | RWSEM_READER_OWNED | in __rwsem_set_reader_owned()195 return rwsem_test_oflags(sem, RWSEM_READER_OWNED); in is_rwsem_reader_owned()230 if (!(owner & RWSEM_READER_OWNED)) in rwsem_set_nonspinnable()690 (owner && !(flags & RWSEM_READER_OWNED) && !owner_on_cpu(owner))) in rwsem_can_spin_on_owner()708 if (flags & RWSEM_READER_OWNED) in rwsem_owner_state()965 if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) && in rwsem_down_read_slowpath()