Home
last modified time | relevance | path

Searched refs:linfo (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dverifier.c259 const struct bpf_line_info *linfo; in find_linfo() local
270 linfo = prog->aux->linfo; in find_linfo()
272 if (insn_off < linfo[i].insn_off) { in find_linfo()
277 return &linfo[i - 1]; in find_linfo()
372 const struct bpf_line_info *linfo; in verbose_linfo() local
378 linfo = find_linfo(env, insn_off); in verbose_linfo()
379 if (!linfo || linfo == env->prev_linfo) { in verbose_linfo()
391 verbose(env, "%s\n", ltrim(btf_name_by_offset(env->prog->aux->btf, linfo in verbose_linfo()
8699 struct bpf_line_info *linfo; check_btf_line() local
10482 struct bpf_line_info *linfo; bpf_adj_linfo_after_remove() local
[all...]
H A Dsyscall.c3692 if (copy_to_user(user_linfo, prog->aux->linfo, info.line_info_rec_size * ulen)) { in bpf_prog_get_info_by_fd()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dbpf.h828 /* bpf_line_info loaded from userspace. linfo->insn_off
830 * Both the main and sub prog share the same linfo.
831 * The subprog can access its first linfo by
834 struct bpf_line_info *linfo; member
835 /* jited_linfo is the jited addr of the linfo. It has a
836 * one to one mapping to linfo:
837 * jited_linfo[i] is the jited addr for the linfo[i]->insn_off.
845 /* subprog can use linfo_idx to access its first linfo and
1316 typedef int (*bpf_iter_attach_target_t)(struct bpf_prog *prog, union bpf_iter_link_info *linfo,

Completed in 15 milliseconds