Searched refs:LOCK_USAGE_DIR_MASK (Results 1 – 2 of 2) sorted by relevance
30 #define LOCK_USAGE_DIR_MASK 2 macro31 #define LOCK_USAGE_STATE_MASK (~(LOCK_USAGE_READ_MASK | LOCK_USAGE_DIR_MASK))
689 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()2646 return state_rnames[bit >> LOCK_USAGE_DIR_MASK]; in state_name()2648 return state_names[bit >> LOCK_USAGE_DIR_MASK]; in state_name()2661 int dir = new_bit & LOCK_USAGE_DIR_MASK; in exclusive_bit()2666 return state | (dir ^ LOCK_USAGE_DIR_MASK); in exclusive_bit()2688 excl |= (mask & LOCKF_ENABLED_IRQ_ALL) >> LOCK_USAGE_DIR_MASK; in invert_dir_mask()2689 excl |= (mask & LOCKF_USED_IN_IRQ_ALL) << LOCK_USAGE_DIR_MASK; in invert_dir_mask()4198 return state_verbose_f[bit >> LOCK_USAGE_DIR_MASK](class); in state_verbose()4210 int dir = new_bit & LOCK_USAGE_DIR_MASK; in mark_lock_irq()