Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Drwsem.c694 enum owner_state { enum
702 static inline enum owner_state
714 static noinline enum owner_state
719 enum owner_state state; in rwsem_spin_on_owner()
807 enum owner_state owner_state; in rwsem_optimistic_spin() local
809 owner_state = rwsem_spin_on_owner(sem, nonspinnable); in rwsem_optimistic_spin()
810 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
825 if (wlock && (owner_state == OWNER_READER)) { in rwsem_optimistic_spin()
885 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
892 prev_owner_state = owner_state; in rwsem_optimistic_spin()