Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
Drwsem.c100 #define RWSEM_RD_NONSPINNABLE (1UL << 1) macro
102 #define RWSEM_NONSPINNABLE (RWSEM_RD_NONSPINNABLE | RWSEM_WR_NONSPINNABLE)
207 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE); in __rwsem_set_reader_owned()
471 if (waiter->last_rowner & RWSEM_RD_NONSPINNABLE) { in rwsem_mark_wake()
472 owner = (void *)((unsigned long)owner | RWSEM_RD_NONSPINNABLE); in rwsem_mark_wake()
795 : RWSEM_RD_NONSPINNABLE; in rwsem_optimistic_spin()
1008 waiter.last_rowner &= RWSEM_RD_NONSPINNABLE; in rwsem_down_read_slowpath()
1010 if (!rwsem_can_spin_on_owner(sem, RWSEM_RD_NONSPINNABLE)) in rwsem_down_read_slowpath()
1130 atomic_long_or(RWSEM_RD_NONSPINNABLE, &sem->owner); in rwsem_disable_reader_optspin()