Home
last modified time | relevance | path

Searched refs:insnsi (Results 1 – 21 of 21) sorted by relevance

/linux/kernel/bpf/
A Dcore.c291 dst[i] = fp->insnsi[i]; in bpf_prog_calc_tag()
379 struct bpf_insn *insn = prog->insnsi; in bpf_adj_branches()
391 insn = prog->insnsi + end_old; in bpf_adj_branches()
452 memcpy(prog->insnsi + off, patch, sizeof(*patch)); in bpf_patch_insn_single()
488 memmove(prog_adj->insnsi + off + len, prog_adj->insnsi + off + 1, in bpf_patch_insn_single()
490 memcpy(prog_adj->insnsi + off, patch, sizeof(*patch) * len); in bpf_patch_insn_single()
508 memmove(prog->insnsi + off, prog->insnsi + off + cnt, in bpf_remove_insns()
1157 insn = clone->insnsi; in bpf_jit_blind_constants()
1187 insn = clone->insnsi + i + insn_delta; in bpf_jit_blind_constants()
1591 insn = prog->insnsi; in ___bpf_prog_run()
A Dverifier.c1946 struct bpf_insn *insn = env->prog->insnsi; in add_subprog_and_kfunc()
1989 struct bpf_insn *insn = env->prog->insnsi; in check_subprogs()
3818 struct bpf_insn *insn = env->prog->insnsi; in check_max_stack_depth()
11949 struct bpf_insn *insn = new_prog->insnsi; in adjust_insn_aux_data()
12378 insns = new_prog->insnsi; in opt_subreg_zext_lo32_rnd_hi32()
12425 insn = env->prog->insnsi + delta; in convert_ctx_accesses()
12644 memcpy(func[i]->insnsi, &prog->insnsi[subprog_start], in jit_subprogs()
12680 insn = func[i]->insnsi; in jit_subprogs()
12701 insn = func[i]->insnsi; in jit_subprogs()
12809 struct bpf_insn *insn = prog->insnsi; in fixup_call_args()
[all …]
A Dsyscall.c3539 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
/linux/arch/riscv/net/
A Dbpf_jit_core.c22 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
A Dbpf_jit_comp64.c529 int s, e, rvoff, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
A Dbpf_jit_comp32.c961 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
/linux/arch/powerpc/net/
A Dbpf_jit_comp.c30 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_fixup_subprog_calls()
A Dbpf_jit_comp64.c303 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
A Dbpf_jit_comp32.c273 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
/linux/include/linux/
A Dfilter.h590 DECLARE_FLEX_ARRAY(struct bpf_insn, insnsi);
603 const struct bpf_insn *insnsi,
619 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run()
626 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run()
A Dbpf.h723 const struct bpf_insn *insnsi, in bpf_dispatcher_nop_func() argument
727 return bpf_func(ctx, insnsi); in bpf_dispatcher_nop_func()
752 const struct bpf_insn *insnsi, \
756 return bpf_func(ctx, insnsi); \
764 const struct bpf_insn *insnsi, \
/linux/arch/arm64/net/
A Dbpf_jit_comp.c439 const int i = insn - ctx->prog->insnsi; in build_insn()
942 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
/linux/arch/x86/net/
A Dbpf_jit_comp.c874 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
1784 (long) p->insnsi >> 32, in invoke_bpf_prog()
1785 (u32) (long) p->insnsi); in invoke_bpf_prog()
A Dbpf_jit_comp32.c1662 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
/linux/arch/sparc/net/
A Dbpf_jit_comp_64.c900 const int i = insn - ctx->prog->insnsi; in build_insn()
1444 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
/linux/arch/mips/net/
A Dbpf_jit_comp.c853 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
/linux/arch/arm/net/
A Dbpf_jit_32.c1372 const int i = insn - ctx->prog->insnsi; in build_insn()
1850 const struct bpf_insn *insn = &(prog->insnsi[i]); in build_body()
/linux/arch/s390/net/
A Dbpf_jit_comp.c696 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn()
/linux/lib/
A Dtest_bpf.c14214 memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn)); in generate_filter()
14783 memcpy(fp->insnsi, test->insns, len * sizeof(struct bpf_insn)); in prepare_tail_call_tests()
14787 struct bpf_insn *insn = &fp->insnsi[i]; in prepare_tail_call_tests()
/linux/net/core/
A Dfilter.c573 first_insn = new_prog->insnsi; in bpf_convert_filter()
8052 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()

Completed in 110 milliseconds