Home
last modified time | relevance | path

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

/linux/kernel/locking/
H A Drwsem.c66 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) macro
192 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
220 while ((val & ~RWSEM_OWNER_FLAGS_MASK) == (unsigned long)current) { in rwsem_clear_reader_owned()
222 val & RWSEM_OWNER_FLAGS_MASK)) in rwsem_clear_reader_owned()
285 *pflags = owner & RWSEM_OWNER_FLAGS_MASK; in rwsem_owner_flags()
286 return (struct task_struct *)(owner & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner_flags()