Lines Matching refs:nr_linfo
270 u32 i, nr_linfo; in find_linfo() local
273 nr_linfo = prog->aux->nr_linfo; in find_linfo()
275 if (!nr_linfo || insn_off >= prog->len) in find_linfo()
279 for (i = 1; i < nr_linfo; i++) in find_linfo()
10158 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
10166 nr_linfo = attr->line_info_cnt; in check_btf_line()
10167 if (!nr_linfo) in check_btf_line()
10169 if (nr_linfo > INT_MAX / sizeof(struct bpf_line_info)) in check_btf_line()
10181 linfo = kvcalloc(nr_linfo, sizeof(struct bpf_line_info), in check_btf_line()
10194 for (i = 0; i < nr_linfo; i++) { in check_btf_line()
10270 prog->aux->nr_linfo = nr_linfo; in check_btf_line()
12124 u32 i, l_off, l_cnt, nr_linfo; in bpf_adj_linfo_after_remove() local
12127 nr_linfo = prog->aux->nr_linfo; in bpf_adj_linfo_after_remove()
12128 if (!nr_linfo) in bpf_adj_linfo_after_remove()
12134 for (i = 0; i < nr_linfo; i++) in bpf_adj_linfo_after_remove()
12140 for (; i < nr_linfo; i++) in bpf_adj_linfo_after_remove()
12151 (i == nr_linfo || linfo[i].insn_off != off + cnt)) { in bpf_adj_linfo_after_remove()
12159 sizeof(*linfo) * (nr_linfo - i)); in bpf_adj_linfo_after_remove()
12161 prog->aux->nr_linfo -= l_cnt; in bpf_adj_linfo_after_remove()
12162 nr_linfo = prog->aux->nr_linfo; in bpf_adj_linfo_after_remove()
12166 for (i = l_off; i < nr_linfo; i++) in bpf_adj_linfo_after_remove()
12709 func[i]->aux->nr_linfo = prog->aux->nr_linfo; in jit_subprogs()