Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Drwsem.c63 #define RWSEM_NONSPINNABLE (1UL << 1) macro
64 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
168 (atomic_long_read(&sem->owner) & RWSEM_NONSPINNABLE); in __rwsem_set_reader_owned()
229 if (owner & RWSEM_NONSPINNABLE) in rwsem_set_nonspinnable()
232 owner | RWSEM_NONSPINNABLE)); in rwsem_set_nonspinnable()
690 if ((flags & RWSEM_NONSPINNABLE) || in rwsem_can_spin_on_owner()
704 if (flags & RWSEM_NONSPINNABLE) in rwsem_owner_state()
832 if (rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)) in rwsem_optimistic_spin()
913 if (rwsem_test_oflags(sem, RWSEM_NONSPINNABLE)) in clear_nonspinnable()
914 atomic_long_andnot(RWSEM_NONSPINNABLE, &sem->owner); in clear_nonspinnable()
[all …]

Completed in 5 milliseconds