/kernel/linux/linux-5.10/kernel/bpf/ |
D | core.c | 297 dst[i] = fp->insnsi[i]; in bpf_prog_calc_tag() 385 struct bpf_insn *insn = prog->insnsi; in bpf_adj_branches() 397 insn = prog->insnsi + end_old; in bpf_adj_branches() 451 memcpy(prog->insnsi + off, patch, sizeof(*patch)); in bpf_patch_insn_single() 487 memmove(prog_adj->insnsi + off + len, prog_adj->insnsi + off + 1, in bpf_patch_insn_single() 489 memcpy(prog_adj->insnsi + off, patch, sizeof(*patch) * len); in bpf_patch_insn_single() 507 memmove(prog->insnsi + off, prog->insnsi + off + cnt, in bpf_remove_insns() 1154 insn = clone->insnsi; in bpf_jit_blind_constants() 1184 insn = clone->insnsi + i + insn_delta; in bpf_jit_blind_constants() 1587 insn = prog->insnsi; in ___bpf_prog_run()
|
D | verifier.c | 1488 struct bpf_insn *insn = env->prog->insnsi; in check_subprogs() 1734 struct bpf_insn *insn = env->prog->insnsi + env->insn_idx; in check_reg_arg() 1820 struct bpf_insn *insn = env->prog->insnsi + idx; in backtrack_insn() 2305 u32 dst_reg = env->prog->insnsi[insn_idx].dst_reg; in check_stack_write_fixed_off() 3285 struct bpf_insn *insn = env->prog->insnsi; in check_max_stack_depth() 8622 struct bpf_insn *insns = env->prog->insnsi; in check_cfg() 8987 if (!prog->insnsi[linfo[i].insn_off].code) { in check_btf_line() 9852 struct bpf_insn *insns = env->prog->insnsi; in do_check() 10377 struct bpf_insn *insn = env->prog->insnsi; in resolve_pseudo_ldimm64() 10545 struct bpf_insn *insn = env->prog->insnsi; in convert_pseudo_ld_imm64() [all …]
|
D | syscall.c | 3338 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
|
/kernel/linux/linux-5.10/arch/riscv/net/ |
D | bpf_jit_core.c | 22 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
D | bpf_jit_comp64.c | 448 int s, e, rvoff, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
D | bpf_jit_comp32.c | 961 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bpf.h | 716 const struct bpf_insn *insnsi, in bpf_dispatcher_nop_func() argument 720 return bpf_func(ctx, insnsi); in bpf_dispatcher_nop_func() 745 const struct bpf_insn *insnsi, \ 749 return bpf_func(ctx, insnsi); \ 757 const struct bpf_insn *insnsi, \
|
D | filter.h | 564 struct bpf_insn insnsi[]; member 581 __ret = dfunc(ctx, (prog)->insnsi, (prog)->bpf_func); \ 588 __ret = dfunc(ctx, (prog)->insnsi, (prog)->bpf_func); \
|
/kernel/linux/linux-5.10/arch/x86/net/ |
D | bpf_jit_comp.c | 790 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit() 1564 (long) p->insnsi >> 32, in invoke_bpf_prog() 1565 (u32) (long) p->insnsi); in invoke_bpf_prog()
|
D | bpf_jit_comp32.c | 1481 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
|
/kernel/linux/linux-5.10/arch/arm64/net/ |
D | bpf_jit_comp.c | 437 const int i = insn - ctx->prog->insnsi; in build_insn() 937 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 322 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body() 1094 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_fixup_subprog_calls()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | offload.c | 205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 1528 insn = prog->insnsi + i; in build_int_body() 1554 insn = prog->insnsi + i; in build_int_body() 1574 insn = prog->insnsi + idx; in reg_val_propagate_range()
|
/kernel/linux/linux-5.10/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 900 const int i = insn - ctx->prog->insnsi; in build_insn() 1433 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
/kernel/linux/linux-5.10/arch/arm/net/ |
D | bpf_jit_32.c | 1372 const int i = insn - ctx->prog->insnsi; in build_insn() 1851 const struct bpf_insn *insn = &(prog->insnsi[i]); in build_body()
|
/kernel/linux/linux-5.10/arch/s390/net/ |
D | bpf_jit_comp.c | 696 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn()
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 572 first_insn = new_prog->insnsi; in bpf_convert_filter() 7842 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()
|
/kernel/linux/linux-5.10/lib/ |
D | test_bpf.c | 6605 memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn)); in generate_filter()
|