Searched refs:lock_flag (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/perf/util/bpf_skel/ |
| H A D | lock_contention.bpf.c | 930 __u32 lock_flag = LOCK_CLASS_ZONE_LOCK; in BPF_PROG() 950 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); 973 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in slab_cache_iter() 983 __u32 lock_flag; in slab_cache_iter() 997 lock_flag = LOCK_CLASS_RQLOCK; 998 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); 867 __u32 lock_flag = LOCK_CLASS_ZONE_LOCK; collect_zone_lock() local 920 __u32 lock_flag; BPF_PROG() local
|
| /linux/drivers/dma/ |
| H A D | fsl_raid.c | 278 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/kernel/locking/ |
| H A D | lockdep.c | 673 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function 694 if (class->usage_mask & lock_flag(bit + LOCK_USAGE_DIR_MASK)) { in get_usage_char() 696 if (class->usage_mask & lock_flag(bit)) in get_usage_char() 698 } else if (class->usage_mask & lock_flag(bit)) in get_usage_char() 2805 if (excl_mask & lock_flag(excl)) { in find_exclusive_match() 2809 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match() 4186 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards() 4198 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards() 4221 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards() 4233 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()
|