/linux/tools/testing/selftests/bpf/verifier/ |
A D | precise.c | 7 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 9 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0), 17 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 31 BPF_MOV64_REG(BPF_REG_1, BPF_REG_FP), 67 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 69 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -8, 0), 77 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 91 BPF_MOV64_REG(BPF_REG_1, BPF_REG_FP),
|
A D | value_ptr_arith.c | 314 BPF_MOV64_REG(BPF_REG_ARG2, BPF_REG_FP), 316 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -16, 0), 361 BPF_MOV64_REG(BPF_REG_ARG2, BPF_REG_FP), 363 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -16, 0), 408 BPF_MOV64_REG(BPF_REG_ARG2, BPF_REG_FP), 410 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -16, 0), 435 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP), 437 BPF_ST_MEM(BPF_DW, BPF_REG_FP, -16, 0), 441 BPF_MOV64_REG(BPF_REG_2, BPF_REG_FP),
|
A D | bounds.c | 56 BPF_MOV64_REG(BPF_REG_ARG2, BPF_REG_FP), 60 BPF_MOV64_REG(BPF_REG_9, BPF_REG_FP), 63 BPF_MOV64_REG(BPF_REG_ARG2, BPF_REG_FP),
|
/linux/tools/perf/util/ |
A D | bpf-prologue.c | 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() 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()
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 125 [BPF_REG_FP] = 5, /* RBP readonly */ 170 BIT(BPF_REG_FP)); in is_ereg_8l() 1734 BPF_REG_FP, in save_regs() 1752 BPF_REG_FP, in restore_regs() 1799 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_prog() 1871 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in invoke_bpf_mod_ret() 2021 emit_ldx(&prog, BPF_DW, BPF_REG_0, BPF_REG_FP, 8); in arch_prepare_bpf_trampoline() 2023 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -stack_size); in arch_prepare_bpf_trampoline() 2069 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_0, -8); in arch_prepare_bpf_trampoline() 2114 emit_ldx(&prog, BPF_DW, BPF_REG_0, BPF_REG_FP, -8); in arch_prepare_bpf_trampoline()
|
A D | bpf_jit_comp32.c | 158 [BPF_REG_FP] = {STACK_OFFSET(80), STACK_OFFSET(84)}, 1205 const u8 fplo = bpf2ia32[BPF_REG_FP][0]; in emit_prologue() 1206 const u8 fphi = bpf2ia32[BPF_REG_FP][1]; in emit_prologue()
|
/linux/arch/powerpc/net/ |
A D | bpf_jit64.h | 57 [BPF_REG_FP] = 31,
|
A D | bpf_jit_comp32.c | 55 [BPF_REG_FP] = 18, 149 if (bpf_is_seen_register(ctx, bpf_to_ppc(ctx, BPF_REG_FP))) { in bpf_jit_build_prologue() 150 EMIT(PPC_RAW_LI(bpf_to_ppc(ctx, BPF_REG_FP) - 1, 0)); in bpf_jit_build_prologue() 151 EMIT(PPC_RAW_ADDI(bpf_to_ppc(ctx, BPF_REG_FP), _R1, in bpf_jit_build_prologue()
|
A D | bpf_jit_comp64.c | 30 return ctx->seen & SEEN_FUNC || bpf_is_seen_register(ctx, b2p[BPF_REG_FP]); in bpf_has_stack_frame() 115 if (bpf_is_seen_register(ctx, b2p[BPF_REG_FP])) in bpf_jit_build_prologue() 116 EMIT(PPC_RAW_ADDI(b2p[BPF_REG_FP], 1, in bpf_jit_build_prologue()
|
/linux/arch/sparc/net/ |
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()
|
/linux/arch/mips/net/ |
A D | bpf_jit_comp64.c | 79 [BPF_REG_FP] = MIPS_R_FP, 545 u8 fp = bpf2mips64[BPF_REG_FP]; in build_prologue() 564 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue() 594 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue()
|
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() 1403 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue() 1429 if (ctx->accessed & BIT(BPF_REG_FP)) in build_prologue()
|
/linux/arch/arm64/net/ |
A D | bpf_jit_comp.c | 46 [BPF_REG_FP] = A64_R(25), 197 const u8 fp = bpf2a64[BPF_REG_FP]; in build_prologue() 338 const u8 fp = bpf2a64[BPF_REG_FP]; in build_epilogue()
|
/linux/tools/include/linux/ |
A D | filter.h | 20 #define BPF_REG_FP BPF_REG_10 macro
|
/linux/kernel/bpf/ |
A D | verifier.c | 1533 regs[BPF_REG_FP].type = PTR_TO_STACK; in init_reg_state() 1534 mark_reg_known_zero(env, regs, BPF_REG_FP); in init_reg_state() 1535 regs[BPF_REG_FP].frameno = state->frameno; in init_reg_state() 2243 if (regno == BPF_REG_FP) in check_reg_arg() 2253 if (regno == BPF_REG_FP) { in check_reg_arg() 2386 if (insn->src_reg != BPF_REG_FP) in backtrack_insn() 2408 if (insn->dst_reg != BPF_REG_FP) in backtrack_insn() 2518 for (j = 0; j < BPF_REG_FP; j++) { in mark_all_scalars_precise() 2841 if (dst_reg != BPF_REG_FP) { in check_stack_write_fixed_off() 10337 for (i = 0; i < BPF_REG_FP; i++) { in clean_func_state() [all …]
|
A D | core.c | 56 #define FP regs[BPF_REG_FP]
|
/linux/arch/s390/net/ |
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()
|
/linux/arch/riscv/net/ |
A D | bpf_jit_comp32.c | 89 [BPF_REG_FP] = {RV_REG_S6, RV_REG_S5}, 1308 const s8 *fp = bpf2rv32[BPF_REG_FP]; in bpf_jit_build_prologue()
|
A D | bpf_jit_comp64.c | 27 [BPF_REG_FP] = RV_REG_S5,
|
/linux/arch/arm/net/ |
A D | bpf_jit_32.c | 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()
|
/linux/include/linux/ |
A D | filter.h | 51 #define BPF_REG_FP BPF_REG_10 macro
|
/linux/net/core/ |
A D | filter.c | 567 BUILD_BUG_ON(BPF_REG_FP + 1 != MAX_BPF_REG); in bpf_convert_filter() 814 *insn = BPF_STX_MEM(BPF_W, BPF_REG_FP, BPF_CLASS(fp->code) == in bpf_convert_filter() 830 BPF_REG_A : BPF_REG_X, BPF_REG_FP, in bpf_convert_filter()
|