• Home
  • Raw
  • Download

Lines Matching refs:linfo

268 	const struct bpf_line_info *linfo;  in find_linfo()  local
278 linfo = prog->aux->linfo; in find_linfo()
280 if (insn_off < linfo[i].insn_off) in find_linfo()
283 return &linfo[i - 1]; in find_linfo()
377 const struct bpf_line_info *linfo; in verbose_linfo() local
382 linfo = find_linfo(env, insn_off); in verbose_linfo()
383 if (!linfo || linfo == env->prev_linfo) in verbose_linfo()
396 linfo->line_off))); in verbose_linfo()
398 env->prev_linfo = linfo; in verbose_linfo()
10141 struct bpf_line_info *linfo; in check_btf_line() local
10162 linfo = kvcalloc(nr_linfo, sizeof(struct bpf_line_info), in check_btf_line()
10164 if (!linfo) in check_btf_line()
10188 if (copy_from_bpfptr(&linfo[i], ulinfo, ncopy)) { in check_btf_line()
10204 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line()
10205 linfo[i].insn_off >= prog->len) { in check_btf_line()
10207 i, linfo[i].insn_off, prev_offset, in check_btf_line()
10213 if (!prog->insnsi[linfo[i].insn_off].code) { in check_btf_line()
10221 if (!btf_name_by_offset(btf, linfo[i].line_off) || in check_btf_line()
10222 !btf_name_by_offset(btf, linfo[i].file_name_off)) { in check_btf_line()
10229 if (linfo[i].insn_off == sub[s].start) { in check_btf_line()
10232 } else if (sub[s].start < linfo[i].insn_off) { in check_btf_line()
10239 prev_offset = linfo[i].insn_off; in check_btf_line()
10250 prog->aux->linfo = linfo; in check_btf_line()
10256 kvfree(linfo); in check_btf_line()
12100 struct bpf_line_info *linfo; in bpf_adj_linfo_after_remove() local
12106 linfo = prog->aux->linfo; in bpf_adj_linfo_after_remove()
12110 if (linfo[i].insn_off >= off) in bpf_adj_linfo_after_remove()
12116 if (linfo[i].insn_off < off + cnt) in bpf_adj_linfo_after_remove()
12126 (i == nr_linfo || linfo[i].insn_off != off + cnt)) { in bpf_adj_linfo_after_remove()
12128 linfo[--i].insn_off = off + cnt; in bpf_adj_linfo_after_remove()
12133 memmove(linfo + l_off, linfo + i, in bpf_adj_linfo_after_remove()
12134 sizeof(*linfo) * (nr_linfo - i)); in bpf_adj_linfo_after_remove()
12142 linfo[i].insn_off -= cnt; in bpf_adj_linfo_after_remove()
12683 func[i]->aux->linfo = prog->aux->linfo; in jit_subprogs()