/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | bpf-prologue.c | 209 * BPF_REG_FP - 24 ARG3 210 * BPF_REG_FP - 16 ARG2 211 * BPF_REG_FP - 8 ARG1 212 * BPF_REG_FP 266 ins(BPF_MOV64_REG(BPF_REG_7, BPF_REG_FP), pos); in gen_prologue_slowpath() 276 ins(BPF_STX_MEM(BPF_DW, BPF_REG_FP, BPF_REG_ARG3, in gen_prologue_slowpath() 298 * BPF_REG_FP instead of r7 because verifier in gen_prologue_slowpath() 303 BPF_REG_FP, stack_offset), pos); in gen_prologue_slowpath() 314 BPF_REG_FP, -BPF_REG_SIZE * (i + 1)), pos); in gen_prologue_slowpath()
|
/kernel/linux/linux-6.6/arch/x86/net/ |
H A D | bpf_jit_comp.c | 132 [BPF_REG_FP] = 5, /* RBP readonly */ 177 BIT(BPF_REG_FP)); in is_ereg_8l() 2063 emit_ldx(prog, BPF_DW, BPF_REG_0, BPF_REG_FP, in save_args() 2065 emit_stx(prog, BPF_DW, BPF_REG_FP, BPF_REG_0, in save_args() 2085 emit_stx(prog, BPF_DW, BPF_REG_FP, in save_args() 2115 BPF_REG_FP, in restore_regs() 2149 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_1, -run_ctx_off + ctx_cookie_off); in invoke_bpf_prog() 2195 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_prog() 2270 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_mod_ret() 2473 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_ in arch_prepare_bpf_trampoline() [all...] |
H A D | bpf_jit_comp32.c | 158 [BPF_REG_FP] = {STACK_OFFSET(80), STACK_OFFSET(84)}, 176 * BPF_REG_FP, BPF_REG_AX and Tail call counts. 1205 const u8 fplo = bpf2ia32[BPF_REG_FP][0]; in emit_prologue() 1206 const u8 fphi = bpf2ia32[BPF_REG_FP][1]; in emit_prologue()
|
/kernel/linux/linux-5.10/arch/powerpc/net/ |
H A D | bpf_jit64.h | 57 [BPF_REG_FP] = 31,
|
H A D | bpf_jit_comp64.c | 49 * The latter condition is deduced from the usage of BPF_REG_FP in bpf_has_stack_frame() 51 return ctx->seen & SEEN_FUNC || bpf_is_seen_register(ctx, BPF_REG_FP); in bpf_has_stack_frame() 132 if (bpf_is_seen_register(ctx, BPF_REG_FP)) in bpf_jit_build_prologue() 133 EMIT(PPC_RAW_ADDI(b2p[BPF_REG_FP], 1, in bpf_jit_build_prologue()
|
/kernel/linux/linux-6.6/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 60 [BPF_REG_FP] = A64_R(25), 296 const u8 fp = bpf2a64[BPF_REG_FP]; in build_prologue() 663 const u8 fp = bpf2a64[BPF_REG_FP]; in build_epilogue() 769 const u8 fp = bpf2a64[BPF_REG_FP]; in build_insn() 1397 src == BPF_REG_FP)) in find_fpb_offset() 1400 if (mode == BPF_MEM && dst == BPF_REG_FP && in find_fpb_offset() 1412 if (dst == BPF_REG_FP) in find_fpb_offset() 1416 src == BPF_REG_FP && off < offset) in find_fpb_offset() 1424 if (dst == BPF_REG_FP) in find_fpb_offset()
|
/kernel/linux/linux-5.10/arch/x86/net/ |
H A D | bpf_jit_comp.c | 125 [BPF_REG_FP] = 5, /* RBP readonly */ 170 BIT(BPF_REG_FP)); in is_ereg_8l() 1521 BPF_REG_FP, in save_regs() 1539 BPF_REG_FP, in restore_regs() 1579 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_prog() 1672 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_mod_ret() 1851 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in arch_prepare_bpf_trampoline() 1896 emit_ldx(&prog, BPF_DW, BPF_REG_0, BPF_REG_FP, -8); in arch_prepare_bpf_trampoline()
|
H A D | bpf_jit_comp32.c | 158 [BPF_REG_FP] = {STACK_OFFSET(80), STACK_OFFSET(84)}, 176 * BPF_REG_FP, BPF_REG_AX and Tail call counts. 1205 const u8 fplo = bpf2ia32[BPF_REG_FP][0]; in emit_prologue() 1206 const u8 fphi = bpf2ia32[BPF_REG_FP][1]; in emit_prologue()
|
/kernel/linux/linux-5.10/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 226 [BPF_REG_FP] = L6, 824 const u8 vfp = bpf2sparc[BPF_REG_FP]; in build_prologue() 904 if (insn->src_reg == BPF_REG_FP) in build_insn() 1302 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1343 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1378 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1401 if (insn->dst_reg == BPF_REG_FP) in build_insn()
|
/kernel/linux/linux-6.6/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 226 [BPF_REG_FP] = L6, 824 const u8 vfp = bpf2sparc[BPF_REG_FP]; in build_prologue() 904 if (insn->src_reg == BPF_REG_FP) in build_insn() 1302 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1343 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1384 if (insn->dst_reg == BPF_REG_FP) in build_insn() 1412 if (insn->dst_reg == BPF_REG_FP) in build_insn()
|
/kernel/linux/linux-6.6/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 65 ctx->b2p[BPF_REG_FP] = _R31; in bpf_jit_init_reg_mapping() 81 * The latter condition is deduced from the usage of BPF_REG_FP in bpf_has_stack_frame() 83 return ctx->seen & SEEN_FUNC || bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_FP)); in bpf_has_stack_frame() 171 if (bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_FP))) in bpf_jit_build_prologue() 172 EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1, in bpf_jit_build_prologue()
|
H A D | bpf_jit_comp32.c | 62 ctx->b2p[BPF_REG_FP] = _R18; in bpf_jit_init_reg_mapping() 90 * The latter condition is deduced from the usage of BPF_REG_FP in bpf_has_stack_frame() 93 bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_FP)); in bpf_has_stack_frame() 163 if (bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_FP))) { in bpf_jit_build_prologue() 164 EMIT(PPC_RAW_LI(bpf_to_ppc(BPF_REG_FP) - 1, 0)); in bpf_jit_build_prologue() 165 EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1, in bpf_jit_build_prologue()
|
/kernel/linux/linux-6.6/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 79 [BPF_REG_FP] = MIPS_R_FP, 548 u8 fp = bpf2mips64[BPF_REG_FP]; in build_prologue() 575 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue() 605 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue()
|
H A D | bpf_jit_comp32.c | 133 [BPF_REG_FP] = {MIPS_R_FP, MIPS_R_ZERO}, 135 [BPF_REG_FP] = {MIPS_R_ZERO, MIPS_R_FP}, 1376 const u8 *fp = bpf2mips32[BPF_REG_FP]; in build_prologue() 1410 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue() 1436 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | filter.h | 20 #define BPF_REG_FP BPF_REG_10 macro
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | filter.h | 20 #define BPF_REG_FP BPF_REG_10 macro
|
/kernel/linux/linux-5.10/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 44 [BPF_REG_FP] = A64_R(25), 198 const u8 fp = bpf2a64[BPF_REG_FP]; in build_prologue() 338 const u8 fp = bpf2a64[BPF_REG_FP]; in build_epilogue()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | verifier.c | 1373 for (regno = 0; regno < BPF_REG_FP; regno++) in mark_reg_unknown() 1393 for (regno = 0; regno < BPF_REG_FP; regno++) in mark_reg_not_init() 1428 regs[BPF_REG_FP].type = PTR_TO_STACK; in init_reg_state() 1429 mark_reg_known_zero(env, regs, BPF_REG_FP); in init_reg_state() 1430 regs[BPF_REG_FP].frameno = state->frameno; in init_reg_state() 1758 if (regno == BPF_REG_FP) in check_reg_arg() 1768 if (regno == BPF_REG_FP) { in check_reg_arg() 1889 if (insn->src_reg != BPF_REG_FP) in backtrack_insn() 1911 if (insn->dst_reg != BPF_REG_FP) in backtrack_insn() 2039 for (j = 0; j < BPF_REG_FP; in mark_all_scalars_precise() [all...] |
/kernel/linux/linux-5.10/arch/loongarch/net/ |
H A D | ebpf_jit.c | 33 [BPF_REG_FP] = LOONGARCH_GPR_S4, 94 * +-------------------------+ <--BPF_REG_FP 154 emit_insn(ctx, addid, regmap[BPF_REG_FP], LOONGARCH_GPR_SP, bpf_stack_adjust); in build_prologue()
|
/kernel/linux/linux-6.6/arch/loongarch/net/ |
H A D | bpf_jit.c | 30 [BPF_REG_FP] = LOONGARCH_GPR_S4, 83 * +-------------------------+ <--BPF_REG_FP 137 emit_insn(ctx, addid, regmap[BPF_REG_FP], LOONGARCH_GPR_SP, bpf_stack_adjust); in build_prologue()
|
/kernel/linux/linux-6.6/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 31 [BPF_REG_FP] = HPPA_R(14), 1195 reg = regmap[BPF_REG_FP]; /* -> HPPA_REG_FP */ in bpf_jit_build_prologue()
|
H A D | bpf_jit_comp32.c | 94 [BPF_REG_FP] = {STACK_OFFSET(BPF_FP_HI), STACK_OFFSET(BPF_FP_LO)}, 1598 dst = regmap[BPF_REG_FP]; in bpf_jit_build_prologue()
|
/kernel/linux/linux-5.10/arch/arm/net/ |
H A D | bpf_jit_32.c | 109 * BPF_REG_FP and Tail call counts. 165 [BPF_REG_FP] = {STACK_OFFSET(BPF_FP_HI), STACK_OFFSET(BPF_FP_LO)}, 1303 const s8 *bpf_fp = bpf2a32[BPF_REG_FP]; in build_prologue()
|
/kernel/linux/linux-5.10/arch/s390/net/ |
H A D | bpf_jit_comp.c | 91 [BPF_REG_FP] = 13, 550 EMIT4_DISP(0x41000000, BPF_REG_FP, REG_15, STK_160_UNUSED); in bpf_jit_prologue()
|
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 30 * BPF_REG_FP => +----------+ <= (fp - 4 * NR_SAVED_REGISTERS 89 [BPF_REG_FP] = {RV_REG_S6, RV_REG_S5}, 1296 const s8 *fp = bpf2rv32[BPF_REG_FP]; in bpf_jit_build_prologue()
|