Home
last modified time | relevance | path

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

/openbmc/linux/kernel/locking/
H A Drwsem.c65 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) macro
212 while ((val & ~RWSEM_OWNER_FLAGS_MASK) == (unsigned long)current) { in rwsem_clear_reader_owned()
214 val & RWSEM_OWNER_FLAGS_MASK)) in rwsem_clear_reader_owned()
274 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
286 *pflags = owner & RWSEM_OWNER_FLAGS_MASK; in rwsem_owner_flags()
287 return (struct task_struct *)(owner & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner_flags()