Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c436 __u32 lock_flag; in BPF_PROG() local
450 lock_flag = LOCK_CLASS_RQLOCK; in BPF_PROG()
451 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in BPF_PROG()
/openbmc/linux/drivers/dma/
H A Dfsl_raid.c277 unsigned long lock_flag; in fsl_re_chan_alloc_desc() local
281 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
290 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
307 spin_lock_irqsave(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
309 spin_unlock_irqrestore(&re_chan->desc_lock, lock_flag); in fsl_re_chan_alloc_desc()
/openbmc/u-boot/drivers/mtd/
H A Dcfi_flash.c1523 int lock_flag; in flash_real_protect() local
1528 lock_flag = flash_isset(info, sector, 0, 0x01); in flash_real_protect()
1530 if (lock_flag) { in flash_real_protect()
1537 lock_flag ? "" : "already "); in flash_real_protect()
1539 if (!lock_flag) { in flash_real_protect()
1547 !lock_flag ? "" : "already "); in flash_real_protect()
/openbmc/linux/kernel/locking/
H 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()
2769 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()
2773 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()
4095 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()
4107 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()
4130 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()
4142 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()