Searched refs:lock_flag (Results 1 – 2 of 2) sorted by relevance
867 __u32 lock_flag = LOCK_CLASS_ZONE_LOCK; in collect_zone_lock() local887 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in collect_zone_lock()910 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in collect_zone_lock()920 __u32 lock_flag; in BPF_PROG() local934 lock_flag = LOCK_CLASS_RQLOCK; in BPF_PROG()935 bpf_map_update_elem(&lock_syms, &lock_addr, &lock_flag, BPF_ANY); in BPF_PROG()
673 static inline unsigned long lock_flag(enum lock_usage_bit bit) in lock_flag() function694 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()2761 if (excl_mask & lock_flag(excl)) { in find_exclusive_match()2765 } else if (excl_mask & lock_flag(excl_read)) { in find_exclusive_match()4142 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_forwards()4154 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_forwards()4177 unsigned usage_mask = lock_flag(bit) | lock_flag(read_bit); in check_usage_backwards()4189 if (target_entry->class->usage_mask & lock_flag(bit)) { in check_usage_backwards()