Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/locking/
Dlockdep_internals.h30 #define LOCK_USAGE_DIR_MASK 2 macro
31 #define LOCK_USAGE_STATE_MASK (~(LOCK_USAGE_READ_MASK | LOCK_USAGE_DIR_MASK))
Dlockdep.c688 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()
2631 return state_rnames[bit >> LOCK_USAGE_DIR_MASK]; in state_name()
2633 return state_names[bit >> LOCK_USAGE_DIR_MASK]; in state_name()
2646 int dir = new_bit & LOCK_USAGE_DIR_MASK; in exclusive_bit()
2651 return state | (dir ^ LOCK_USAGE_DIR_MASK); in exclusive_bit()
2673 excl |= (mask & LOCKF_ENABLED_IRQ_ALL) >> LOCK_USAGE_DIR_MASK; in invert_dir_mask()
2674 excl |= (mask & LOCKF_USED_IN_IRQ_ALL) << LOCK_USAGE_DIR_MASK; in invert_dir_mask()
4160 return state_verbose_f[bit >> LOCK_USAGE_DIR_MASK](class); in state_verbose()
4172 int dir = new_bit & LOCK_USAGE_DIR_MASK; in mark_lock_irq()