Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/locking/
Drwsem.c102 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) macro
244 while ((val & ~RWSEM_OWNER_FLAGS_MASK) == (unsigned long)current) { in rwsem_clear_reader_owned()
246 val & RWSEM_OWNER_FLAGS_MASK)) in rwsem_clear_reader_owned()
287 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
299 *pflags = owner & RWSEM_OWNER_FLAGS_MASK; in rwsem_owner_flags()
300 return (struct task_struct *)(owner & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner_flags()
952 if (((owner ^ last_rowner) & ~RWSEM_OWNER_FLAGS_MASK) && in rwsem_reader_phase_trylock()