Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Drwsem.c99 #define RWSEM_RD_NONSPINNABLE (1UL << 1) macro
101 #define RWSEM_NONSPINNABLE (RWSEM_RD_NONSPINNABLE | RWSEM_WR_NONSPINNABLE)
206 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE); in __rwsem_set_reader_owned()
470 if (waiter->last_rowner & RWSEM_RD_NONSPINNABLE) { in rwsem_mark_wake()
471 owner = (void *)((unsigned long)owner | RWSEM_RD_NONSPINNABLE); in rwsem_mark_wake()
792 : RWSEM_RD_NONSPINNABLE; in rwsem_optimistic_spin()
1005 waiter.last_rowner &= RWSEM_RD_NONSPINNABLE; in rwsem_down_read_slowpath()
1007 if (!rwsem_can_spin_on_owner(sem, RWSEM_RD_NONSPINNABLE)) in rwsem_down_read_slowpath()
1127 atomic_long_or(RWSEM_RD_NONSPINNABLE, &sem->owner); in rwsem_disable_reader_optspin()