Lines Matching refs:owner_state
677 enum owner_state { enum
732 static inline enum owner_state
744 static noinline enum owner_state
749 enum owner_state state; in rwsem_spin_on_owner()
835 enum owner_state owner_state; in rwsem_optimistic_spin() local
837 owner_state = rwsem_spin_on_owner(sem); in rwsem_optimistic_spin()
838 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
852 if (owner_state == OWNER_READER) { in rwsem_optimistic_spin()
912 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
919 prev_owner_state = owner_state; in rwsem_optimistic_spin()
958 static inline enum owner_state
1169 enum owner_state owner_state; in rwsem_down_write_slowpath() local
1171 owner_state = rwsem_spin_on_owner(sem); in rwsem_down_write_slowpath()
1172 if (owner_state == OWNER_NULL) in rwsem_down_write_slowpath()