Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Drwsem.c64 #define RWSEM_NONSPINNABLE (1UL << 1) macro
65 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
174 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); in __rwsem_set_reader_owned()
235 if (owner & RWSEM_NONSPINNABLE) in rwsem_set_nonspinnable()
238 owner | RWSEM_NONSPINNABLE)); in rwsem_set_nonspinnable()
724 if ((flags & RWSEM_NONSPINNABLE) || in rwsem_can_spin_on_owner()
737 if (flags & RWSEM_NONSPINNABLE) in rwsem_owner_state()
863 if (rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)) in rwsem_optimistic_spin()
943 if (unlikely(rwsem_test_oflags(sem, RWSEM_NONSPINNABLE))) in clear_nonspinnable()
944 atomic_long_andnot(RWSEM_NONSPINNABLE, &sem->owner); in clear_nonspinnable()
[all …]