Home
last modified time | relevance | path

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

/linux-6.12.1/fs/bcachefs/
Dsix.c31 #define SIX_LOCK_HELD_intent (1U << 26) macro
59 .lock_val = SIX_LOCK_HELD_intent,
60 .lock_fail = SIX_LOCK_HELD_intent,
61 .held_mask = SIX_LOCK_HELD_intent,
90 if (!(old & SIX_LOCK_HELD_intent)) { in six_set_owner()
612 !(atomic_read(&lock->state) & SIX_LOCK_HELD_intent)); in six_unlock_ip()
661 if (new & SIX_LOCK_HELD_intent) in six_lock_tryupgrade()
669 new |= SIX_LOCK_HELD_intent; in six_lock_tryupgrade()
734 SIX_LOCK_HELD_intent))); in six_lock_increment()
739 EBUG_ON(!(atomic_read(&lock->state) & SIX_LOCK_HELD_intent)); in six_lock_increment()
[all …]