Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Drwsem.c65 #define RWSEM_NONSPINNABLE (1UL << 1) macro
66 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
175 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); in __rwsem_set_reader_owned()
243 if (owner & RWSEM_NONSPINNABLE) in rwsem_set_nonspinnable()
246 owner | RWSEM_NONSPINNABLE)); in rwsem_set_nonspinnable()
723 if ((flags & RWSEM_NONSPINNABLE) || in rwsem_can_spin_on_owner()
734 if (flags & RWSEM_NONSPINNABLE) in rwsem_owner_state()
860 if (rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)) in rwsem_optimistic_spin()
940 if (unlikely(rwsem_test_oflags(sem, RWSEM_NONSPINNABLE))) in clear_nonspinnable()
941 atomic_long_andnot(RWSEM_NONSPINNABLE, &sem->owner); in clear_nonspinnable()
[all …]