Lines Matching refs:owner_state
635 enum owner_state { enum
701 static inline enum owner_state
713 static noinline enum owner_state
718 enum owner_state state; in rwsem_spin_on_owner()
806 enum owner_state owner_state; in rwsem_optimistic_spin() local
808 owner_state = rwsem_spin_on_owner(sem); in rwsem_optimistic_spin()
809 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
823 if (owner_state == OWNER_READER) { in rwsem_optimistic_spin()
883 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
890 prev_owner_state = owner_state; in rwsem_optimistic_spin()
930 static inline enum owner_state
1141 enum owner_state owner_state; in rwsem_down_write_slowpath() local
1144 owner_state = rwsem_spin_on_owner(sem); in rwsem_down_write_slowpath()
1147 if (owner_state == OWNER_NULL) in rwsem_down_write_slowpath()