Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
Drwsem.c697 enum owner_state { enum
705 static inline enum owner_state
717 static noinline enum owner_state
722 enum owner_state state; in rwsem_spin_on_owner()
810 enum owner_state owner_state; in rwsem_optimistic_spin() local
812 owner_state = rwsem_spin_on_owner(sem, nonspinnable); in rwsem_optimistic_spin()
813 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
828 if (wlock && (owner_state == OWNER_READER)) { in rwsem_optimistic_spin()
888 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
895 prev_owner_state = owner_state; in rwsem_optimistic_spin()