Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/dma/
Dfsl_raid.c278 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local
282 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
291 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
308 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
310 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
/Linux-v5.4/kernel/locking/
Dlockdep.c587 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function
608 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char()
610 if (class->usage_mask & lock_flag(bit)) in get_usage_char()
612 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char()
2209 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()
3196 ret = find_usage_forwards(&root, lock_flag(bit), &target_entry); in check_usage_forwards()
3223 ret = find_usage_backwards(&root, lock_flag(bit), &target_entry); in check_usage_backwards()