/linux-6.6.21/kernel/bpf/ ! |
D | core.c | 305 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()
|
D | verifier.c | 3011 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 …]
|
D | cgroup.c | 78 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()
|
D | syscall.c | 4236 insns = kmemdup(prog->insnsi, bpf_prog_insn_size(prog), in bpf_insn_prepare_dump()
|
/linux-6.6.21/arch/parisc/net/ ! |
D | bpf_jit_core.c | 23 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
D | bpf_jit_comp64.c | 597 int s, e, ret, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
D | bpf_jit_comp32.c | 1121 int s, e, paoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
/linux-6.6.21/include/linux/ ! |
D | bpf.h | 1196 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);
|
D | filter.h | 586 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/ ! |
D | bpf_jit_core.c | 24 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
D | bpf_jit_comp64.c | 757 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()
|
D | bpf_jit_comp32.c | 959 int s, e, rvoff, i = insn - ctx->prog->insnsi; in bpf_jit_emit_insn()
|
/linux-6.6.21/arch/arm64/net/ ! |
D | bpf_jit_comp.c | 524 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/ ! |
D | offload.c | 205 ret = nfp_prog_prepare(nfp_prog, prog->insnsi, prog->len); in nfp_bpf_verifier_prep()
|
/linux-6.6.21/arch/loongarch/net/ ! |
D | bpf_jit.c | 454 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/ ! |
D | bpf_jit_comp.c | 1029 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()
|
D | bpf_jit_comp32.c | 1662 struct bpf_insn *insn = bpf_prog->insnsi; in do_jit()
|
/linux-6.6.21/arch/sparc/net/ ! |
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-6.6.21/arch/mips/net/ ! |
D | bpf_jit_comp.c | 857 const struct bpf_insn *insn = &prog->insnsi[i]; in build_body()
|
/linux-6.6.21/arch/s390/net/ ! |
D | bpf_jit_comp.c | 778 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/ ! |
D | bpf_jit_32.c | 1357 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/ ! |
D | bpf_jit_comp64.c | 368 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
|
D | bpf_jit_comp32.c | 284 const struct bpf_insn *insn = fp->insnsi; in bpf_jit_build_body()
|
/linux-6.6.21/lib/ ! |
D | test_bpf.c | 14480 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/ ! |
D | filter.c | 578 first_insn = new_prog->insnsi; in bpf_convert_filter() 8804 *insn++ = prog->insnsi[0]; in bpf_unclone_prologue()
|