Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/locking/
H A Drwsem.c692 enum owner_state { enum
700 static inline enum owner_state
712 static noinline enum owner_state
717 enum owner_state state; in rwsem_spin_on_owner()
805 enum owner_state owner_state; in rwsem_optimistic_spin() local
807 owner_state = rwsem_spin_on_owner(sem, nonspinnable); in rwsem_optimistic_spin()
808 if (!(owner_state & OWNER_SPINNABLE)) in rwsem_optimistic_spin()
823 if (wlock && (owner_state == OWNER_READER)) { in rwsem_optimistic_spin()
883 if (owner_state != OWNER_WRITER) { in rwsem_optimistic_spin()
890 prev_owner_state = owner_state; in rwsem_optimistic_spin()