Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/dma/
Dfsl_raid.c276 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local
280 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
289 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
306 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
308 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
/Linux-v5.10/kernel/locking/
Dlockdep.c638 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function
659 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()
661 if (class->usage_mask & lock_flag(bit)) in get_usage_char()
663 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char()
2595 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()
2599 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()
3833 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()
3845 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()
3868 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()
3880 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()