Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/ !
Dcore.c305 dst[i] = fp->insnsi[i]; in bpf_prog_calc_tag()
406 struct bpf_insn *insn = prog->insnsi; in bpf_adj_branches()
418 insn = prog->insnsi + end_old; in bpf_adj_branches()
479 memcpy(prog->insnsi + off, patch, sizeof(*patch)); in bpf_patch_insn_single()
515 memmove(prog_adj->insnsi + off + len, prog_adj->insnsi + off + 1, in bpf_patch_insn_single()
517 memcpy(prog_adj->insnsi + off, patch, sizeof(*patch) * len); in bpf_patch_insn_single()
535 memmove(prog->insnsi + off, prog->insnsi + off + cnt, in bpf_remove_insns()
1435 insn = clone->insnsi; in bpf_jit_blind_constants()
1475 insn = clone->insnsi + i + insn_delta; in bpf_jit_blind_constants()
1996 insn = prog->insnsi; in ___bpf_prog_run()
Dverifier.c3011 struct bpf_insn *insn = env->prog->insnsi; in add_subprog_and_kfunc()
3054 struct bpf_insn *insn = env->prog->insnsi; in check_subprogs()
3339 struct bpf_insn *insn = env->prog->insnsi + env->insn_idx; in __check_reg_arg()
3647 struct bpf_insn *insn = env->prog->insnsi + idx; in backtrack_insn()
3872 bpf_pseudo_call(&env->prog->insnsi[subseq_idx - 1]) && in backtrack_insn()
4550 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_stack_write_fixed_off()
4692 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_stack_write_var_off()
5340 struct bpf_insn *insn = &env->prog->insnsi[insn_idx]; in check_map_kptr_access()
5832 struct bpf_insn *insn = env->prog->insnsi; in check_max_stack_depth_subprog()
9582 struct bpf_insn *insn = env->prog->insnsi; in in_rbtree_lock_required_cb()
[all …]
Dcgroup.c78 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_sock()
100 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_socket()
118 shim_prog = (const struct bpf_prog *)((void *)insn - offsetof(struct bpf_prog, insnsi)); in __cgroup_bpf_run_lsm_current()
Dsyscall.c4236 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
/linux-6.6.21/arch/parisc/net/ !
Dbpf_jit_core.c23 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
Dbpf_jit_comp64.c597 int s, e, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
Dbpf_jit_comp32.c1121 int s, e, paoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
/linux-6.6.21/include/linux/ !
Dbpf.h1196 const struct bpf_insn *insnsi, in bpf_dispatcher_nop_func() argument
1199 return bpf_func(ctx, insnsi); in bpf_dispatcher_nop_func()
1256 static_call(bpf_dispatcher_##name##_call)(ctx, insnsi, bpf_func)
1264 #define __BPF_DISPATCHER_CALL(name) bpf_func(ctx, insnsi)
1286 const struct bpf_insn *insnsi, \
1298 const struct bpf_insn *insnsi, \
1509 DECLARE_FLEX_ARRAY(struct bpf_insn, insnsi);
Dfilter.h586 const struct bpf_insn *insnsi,
602 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run()
609 ret = dfunc(ctx, prog->insnsi, prog->bpf_func); in __bpf_prog_run()
/linux-6.6.21/arch/riscv/net/ !
Dbpf_jit_core.c24 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
Dbpf_jit_comp64.c757 emit_imm(RV_REG_A1, (const s64)p->insnsi, ctx); in invoke_bpf_prog()
1074 int s, e, rvoff, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
Dbpf_jit_comp32.c959 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
/linux-6.6.21/arch/arm64/net/ !
Dbpf_jit_comp.c524 const int i = insn - ctx->prog->insnsi; in emit_ll_sc_atomic()
773 const int i = insn - ctx->prog->insnsi; in build_insn()
1379 const struct bpf_insn *insn = &prog->insnsi[i]; in find_fpb_offset()
1457 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
1752 emit_addr_mov_i64(A64_R(1), (const u64)p->insnsi, ctx); in invoke_bpf_prog()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/ !
Doffload.c205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
/linux-6.6.21/arch/loongarch/net/ !
Dbpf_jit.c454 int i = insn - ctx->prog->insnsi; in build_insn()
1042 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
/linux-6.6.21/arch/x86/net/ !
Dbpf_jit_comp.c1029 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
2180 (long) p->insnsi >> 32, in invoke_bpf_prog()
2181 (u32) (long) p->insnsi); in invoke_bpf_prog()
Dbpf_jit_comp32.c1662 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
/linux-6.6.21/arch/sparc/net/ !
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-6.6.21/arch/mips/net/ !
Dbpf_jit_comp.c857 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
/linux-6.6.21/arch/s390/net/ !
Dbpf_jit_comp.c778 struct bpf_insn *insn = &fp->insnsi[i]; in bpf_jit_insn()
2153 load_imm64(jit, REG_3, (u64)p->insnsi); in invoke_bpf_prog()
/linux-6.6.21/arch/arm/net/ !
Dbpf_jit_32.c1357 const int i = insn - ctx->prog->insnsi; in build_insn()
1835 const struct bpf_insn *insn = &(prog->insnsi[i]); in build_body()
/linux-6.6.21/arch/powerpc/net/ !
Dbpf_jit_comp64.c368 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
Dbpf_jit_comp32.c284 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
/linux-6.6.21/lib/ !
Dtest_bpf.c14480 memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn)); in generate_filter()
15080 memcpy(fp->insnsi, test->insns, len * sizeof(struct bpf_insn)); in prepare_tail_call_tests()
15084 struct bpf_insn *insn = &fp->insnsi[i]; in prepare_tail_call_tests()
/linux-6.6.21/net/core/ !
Dfilter.c578 first_insn = new_prog->insnsi; in bpf_convert_filter()
8804 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()