Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/locking/
H A Drwsem.c101 #define RWSEM_RD_NONSPINNABLE (1UL << 1) macro
103 #define RWSEM_NONSPINNABLE (RWSEM_RD_NONSPINNABLE | RWSEM_WR_NONSPINNABLE)
209 (atomic_long_read(&sem->owner) & RWSEM_RD_NONSPINNABLE); in __rwsem_set_reader_owned()
467 if (waiter->last_rowner & RWSEM_RD_NONSPINNABLE) { in rwsem_mark_wake()
468 owner = (void *)((unsigned long)owner | RWSEM_RD_NONSPINNABLE); in rwsem_mark_wake()
790 : RWSEM_RD_NONSPINNABLE; in rwsem_optimistic_spin()
1004 waiter.last_rowner &= RWSEM_RD_NONSPINNABLE; in rwsem_down_read_slowpath()
1006 if (!rwsem_can_spin_on_owner(sem, RWSEM_RD_NONSPINNABLE)) in rwsem_down_read_slowpath()
1137 atomic_long_or(RWSEM_RD_NONSPINNABLE, &sem->owner); in rwsem_disable_reader_optspin()