Home
last modified time | relevance | path

Searched refs:owner_state (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/kernel/locking/
Drwsem.c646 enum owner_state { enum
654 static inline enum owner_state
666 static noinline enum owner_state
671 enum owner_state state; in rwsem_spin_on_owner()
757 enum owner_state owner_state; in rwsem_optimistic_spin() local
759 owner_state = rwsem_spin_on_owner(sem); in rwsem_optimistic_spin()
760 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
774 if (owner_state == OWNER_READER) { in rwsem_optimistic_spin()
834 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
841 prev_owner_state = owner_state; in rwsem_optimistic_spin()