Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/locking/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/hmdfs/
H A Dinode_merge.c608 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) in lock_root_inode_shared() macro
611 ~RWSEM_OWNER_FLAGS_MASK); in lock_root_inode_shared()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dinode_merge.c608 #define RWSEM_OWNER_FLAGS_MASK (RWSEM_READER_OWNED | RWSEM_NONSPINNABLE) in lock_root_inode_shared() macro
611 ~RWSEM_OWNER_FLAGS_MASK); in lock_root_inode_shared()

Completed in 8 milliseconds