Searched refs:lock_flag (Results 1 – 3 of 3) sorted by relevance
276 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local280 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()
638 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function659 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()2703 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()2707 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()3952 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()3964 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()3987 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()3999 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()
54996 + n = sprintf(buf, "%d\n", ukdev->lock_flag);54998 + pr_info("%s\n", (ukdev->lock_flag == 1 ? "locked" : "unlocked"));55032 + ukdev->lock_flag = state;55034 + (ukdev->lock_flag == 1 ? "locked" : "unlocked"));55461 + int lock_flag;