Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c297 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()
Dverifier.c1488 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 …]
Dsyscall.c3338 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
/kernel/linux/linux-5.10/arch/riscv/net/
Dbpf_jit_core.c22 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
Dbpf_jit_comp64.c448 int s, e, rvoff, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
Dbpf_jit_comp32.c961 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
/kernel/linux/linux-5.10/include/linux/
Dbpf.h716 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, \
Dfilter.h564 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/
Dbpf_jit_comp.c790 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()
Dbpf_jit_comp32.c1481 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
/kernel/linux/linux-5.10/arch/arm64/net/
Dbpf_jit_comp.c437 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/
Dbpf_jit_comp64.c322 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/
Doffload.c205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
/kernel/linux/linux-5.10/arch/mips/net/
Debpf_jit.c1528 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/
Dbpf_jit_comp_64.c900 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/
Dbpf_jit_32.c1372 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/
Dbpf_jit_comp.c696 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn()
/kernel/linux/linux-5.10/net/core/
Dfilter.c572 first_insn = new_prog->insnsi; in bpf_convert_filter()
7842 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()
/kernel/linux/linux-5.10/lib/
Dtest_bpf.c6605 memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn)); in generate_filter()