Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dsix.c30 #define SIX_LOCK_HELD_read ~(~0U << 26) macro
55 .held_mask = SIX_LOCK_HELD_read,
66 .lock_fail = SIX_LOCK_HELD_read,
268 if (lock_type == SIX_LOCK_write && (state & SIX_LOCK_HELD_read)) in six_lock_wakeup()
665 EBUG_ON(!(new & SIX_LOCK_HELD_read)); in six_lock_tryupgrade()
733 (SIX_LOCK_HELD_read| in six_lock_increment()
786 ? atomic_read(&lock->state) & SIX_LOCK_HELD_read in six_lock_counts()
821 EBUG_ON((int) (atomic_read(&lock->state) & SIX_LOCK_HELD_read) + nr < 0); in six_lock_readers_add()
838 WARN_ON(atomic_read(&lock->state) & SIX_LOCK_HELD_read); in six_lock_exit()