Searched refs:linfo (Results 1 – 5 of 5) sorted by relevance
/kernel/bpf/ |
D | map_iter.c | 102 union bpf_iter_link_info *linfo, in bpf_iter_attach_map() argument 110 if (!linfo->map.map_fd) in bpf_iter_attach_map() 113 map = bpf_map_get_with_uref(linfo->map.map_fd); in bpf_iter_attach_map()
|
D | bpf_iter.c | 503 union bpf_iter_link_info linfo; in bpf_iter_link_attach() local 513 memset(&linfo, 0, sizeof(union bpf_iter_link_info)); in bpf_iter_link_attach() 521 err = bpf_check_uarg_tail_zero(ulinfo, sizeof(linfo), in bpf_iter_link_attach() 525 linfo_len = min_t(u32, linfo_len, sizeof(linfo)); in bpf_iter_link_attach() 526 if (copy_from_bpfptr(&linfo, ulinfo, linfo_len)) in bpf_iter_link_attach() 556 err = tinfo->reg_info->attach_target(prog, &linfo, &link->aux); in bpf_iter_link_attach()
|
D | core.c | 200 const struct bpf_line_info *linfo; in bpf_prog_fill_jited_linfo() local 208 linfo = &prog->aux->linfo[linfo_idx]; in bpf_prog_fill_jited_linfo() 209 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 217 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 222 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 426 struct bpf_line_info *linfo; in bpf_adj_linfo() local 433 linfo = prog->aux->linfo; in bpf_adj_linfo() 436 if (off < linfo[i].insn_off) in bpf_adj_linfo() 441 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
D | verifier.c | 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 [all …]
|
D | syscall.c | 1777 kvfree(prog->aux->linfo); in __bpf_prog_put_noref() 3836 if (copy_to_user(user_linfo, prog->aux->linfo, in bpf_prog_get_info_by_fd()
|