Lines Matching refs:owner_state
679 enum owner_state { enum
734 static inline enum owner_state
746 static noinline enum owner_state
751 enum owner_state state; in rwsem_spin_on_owner()
837 enum owner_state owner_state; in rwsem_optimistic_spin() local
839 owner_state = rwsem_spin_on_owner(sem); in rwsem_optimistic_spin()
840 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
854 if (owner_state == OWNER_READER) { in rwsem_optimistic_spin()
914 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
921 prev_owner_state = owner_state; in rwsem_optimistic_spin()
960 static inline enum owner_state
1171 enum owner_state owner_state; in rwsem_down_write_slowpath() local
1173 owner_state = rwsem_spin_on_owner(sem); in rwsem_down_write_slowpath()
1174 if (owner_state == OWNER_NULL) in rwsem_down_write_slowpath()