Searched refs:insnsi (Results 1 – 21 of 21) sorted by relevance
/linux/kernel/bpf/ |
A D | core.c | 291 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 D | verifier.c | 1946 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 D | syscall.c | 3539 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
|
/linux/arch/riscv/net/ |
A D | bpf_jit_core.c | 22 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
A D | bpf_jit_comp64.c | 529 int s, e, rvoff, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
A D | bpf_jit_comp32.c | 961 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
/linux/arch/powerpc/net/ |
A D | bpf_jit_comp.c | 30 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_fixup_subprog_calls()
|
A D | bpf_jit_comp64.c | 303 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
|
A D | bpf_jit_comp32.c | 273 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
|
/linux/include/linux/ |
A D | filter.h | 590 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 D | bpf.h | 723 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 D | bpf_jit_comp.c | 439 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 D | bpf_jit_comp.c | 874 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 D | bpf_jit_comp32.c | 1662 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | offload.c | 205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
|
/linux/arch/sparc/net/ |
A D | bpf_jit_comp_64.c | 900 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 D | bpf_jit_comp.c | 853 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
/linux/arch/arm/net/ |
A D | bpf_jit_32.c | 1372 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 D | bpf_jit_comp.c | 696 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn()
|
/linux/lib/ |
A D | test_bpf.c | 14214 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 D | filter.c | 573 first_insn = new_prog->insnsi; in bpf_convert_filter() 8052 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()
|
Completed in 110 milliseconds