Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Drwsem.c63 #define RWSEM_READER_OWNED (1UL << 0) macro
65 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE)
173 unsigned long val = (unsigned long)owner | RWSEM_READER_OWNED | in __rwsem_set_reader_owned()
206 return rwsem_test_oflags(sem, RWSEM_READER_OWNED); in is_rwsem_reader_owned()
240 if (!(owner & RWSEM_READER_OWNED)) in rwsem_set_nonspinnable()
723 (owner && !(flags & RWSEM_READER_OWNED) && !owner_on_cpu(owner))) in rwsem_can_spin_on_owner()
738 if (flags & RWSEM_READER_OWNED) in rwsem_owner_state()
1006 if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) && in rwsem_down_read_slowpath()