Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/dma/
A 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-6.3-rc2/kernel/locking/
A Dlockdep.c668 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function
689 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()
691 if (class->usage_mask & lock_flag(bit)) in get_usage_char()
693 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char()
2755 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()
2759 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()
4058 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()
4070 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()
4093 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()
4105 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()

Completed in 15 milliseconds