Lines Matching refs:insn_off
274 find_linfo(const struct bpf_verifier_env *env, u32 insn_off) in find_linfo() argument
283 if (!nr_linfo || insn_off >= prog->len) in find_linfo()
288 if (insn_off < linfo[i].insn_off) in find_linfo()
385 u32 insn_off, in verbose_linfo() argument
393 linfo = find_linfo(env, insn_off); in verbose_linfo()
11072 if (krecord[i].insn_off) { in check_btf_func()
11075 krecord[i].insn_off); in check_btf_func()
11078 } else if (krecord[i].insn_off <= prev_offset) { in check_btf_func()
11081 krecord[i].insn_off, prev_offset); in check_btf_func()
11085 if (env->subprog_info[i].start != krecord[i].insn_off) { in check_btf_func()
11115 prev_offset = krecord[i].insn_off; in check_btf_func()
11139 aux->func_info[i].insn_off = env->subprog_info[i].start; in adjust_btf_func()
11214 if ((i && linfo[i].insn_off <= prev_offset) || in check_btf_line()
11215 linfo[i].insn_off >= prog->len) { in check_btf_line()
11217 i, linfo[i].insn_off, prev_offset, in check_btf_line()
11223 if (!prog->insnsi[linfo[i].insn_off].code) { in check_btf_line()
11239 if (linfo[i].insn_off == sub[s].start) { in check_btf_line()
11242 } else if (sub[s].start < linfo[i].insn_off) { in check_btf_line()
11249 prev_offset = linfo[i].insn_off; in check_btf_line()
11326 if (core_relo.insn_off % 8 || core_relo.insn_off / 8 >= prog->len) { in check_core_relo()
11328 i, core_relo.insn_off, prog->len); in check_core_relo()
11334 &prog->insnsi[core_relo.insn_off / 8]); in check_core_relo()
13153 if (linfo[i].insn_off >= off) in bpf_adj_linfo_after_remove()
13159 if (linfo[i].insn_off < off + cnt) in bpf_adj_linfo_after_remove()
13169 (i == nr_linfo || linfo[i].insn_off != off + cnt)) { in bpf_adj_linfo_after_remove()
13171 linfo[--i].insn_off = off + cnt; in bpf_adj_linfo_after_remove()
13185 linfo[i].insn_off -= cnt; in bpf_adj_linfo_after_remove()