Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/locking/
Drwsem.c103 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) macro
245 while ((val & ~RWSEM_OWNER_FLAGS_MASK) == (unsigned long)current) { in rwsem_clear_reader_owned()
247 val & RWSEM_OWNER_FLAGS_MASK)) in rwsem_clear_reader_owned()
288 (atomic_long_read(&sem->owner) & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner()
300 *pflags = owner & RWSEM_OWNER_FLAGS_MASK; in rwsem_owner_flags()
301 return (struct task_struct *)(owner & ~RWSEM_OWNER_FLAGS_MASK); in rwsem_owner_flags()
955 if (((owner ^ last_rowner) & ~RWSEM_OWNER_FLAGS_MASK) && in rwsem_reader_phase_trylock()