Home
last modified time | relevance | path

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

/openbmc/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()
198 return rwsem_test_oflags(sem, RWSEM_READER_OWNED); in is_rwsem_reader_owned()
233 if (!(owner & RWSEM_READER_OWNED)) in rwsem_set_nonspinnable()
725 (owner && !(flags & RWSEM_READER_OWNED) && !owner_on_cpu(owner))) in rwsem_can_spin_on_owner()
740 if (flags & RWSEM_READER_OWNED) in rwsem_owner_state()
1008 if ((atomic_long_read(&sem->owner) & RWSEM_READER_OWNED) && in rwsem_down_read_slowpath()