Lines Matching refs:owner_state
683 enum owner_state { enum
740 static inline enum owner_state
752 static noinline enum owner_state
757 enum owner_state state; in rwsem_spin_on_owner()
845 enum owner_state owner_state; in rwsem_optimistic_spin() local
847 owner_state = rwsem_spin_on_owner(sem); in rwsem_optimistic_spin()
848 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
862 if (owner_state == OWNER_READER) { in rwsem_optimistic_spin()
922 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
929 prev_owner_state = owner_state; in rwsem_optimistic_spin()
969 static inline enum owner_state
1180 enum owner_state owner_state; in rwsem_down_write_slowpath() local
1183 owner_state = rwsem_spin_on_owner(sem); in rwsem_down_write_slowpath()
1186 if (owner_state == OWNER_NULL) in rwsem_down_write_slowpath()