/kernel/linux/linux-5.10/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 99 EMIT(PPC_RAW_LI(b2p[TMP_REG_1], 0)); in bpf_jit_build_prologue() 101 PPC_BPF_STL(b2p[TMP_REG_1], 1, -(BPF_PPC_STACK_SAVE + 8)); in bpf_jit_build_prologue() 173 PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_2], 0); in bpf_jit_emit_func_call_hlp() 175 EMIT(PPC_RAW_MTLR(b2p[TMP_REG_1])); in bpf_jit_emit_func_call_hlp() 243 EMIT(PPC_RAW_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries))); in bpf_jit_emit_tail_call() 245 EMIT(PPC_RAW_CMPLW(b2p_index, b2p[TMP_REG_1])); in bpf_jit_emit_tail_call() 252 PPC_BPF_LL(b2p[TMP_REG_1], 1, bpf_jit_stack_tailcallcnt(ctx)); in bpf_jit_emit_tail_call() 253 EMIT(PPC_RAW_CMPLWI(b2p[TMP_REG_1], MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call() 259 EMIT(PPC_RAW_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], in bpf_jit_emit_tail_call() [all...] |
H A D | bpf_jit64.h | 38 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 60 [TMP_REG_1] = 9,
|
/kernel/linux/linux-6.6/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 45 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 68 ctx->b2p[TMP_REG_1] = _R9; in bpf_jit_init_reg_mapping() 140 EMIT(PPC_RAW_LI(bpf_to_ppc(TMP_REG_1), 0)); in bpf_jit_build_prologue() 142 EMIT(PPC_RAW_STD(bpf_to_ppc(TMP_REG_1), _R1, -(BPF_PPC_STACK_SAVE + 8))); in bpf_jit_build_prologue() 295 EMIT(PPC_RAW_LWZ(bpf_to_ppc(TMP_REG_1), b2p_bpf_array, offsetof(struct bpf_array, map.max_entries))); in bpf_jit_emit_tail_call() 297 EMIT(PPC_RAW_CMPLW(b2p_index, bpf_to_ppc(TMP_REG_1))); in bpf_jit_emit_tail_call() 304 EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), _R1, bpf_jit_stack_tailcallcnt(ctx))); in bpf_jit_emit_tail_call() 305 EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_1), MAX_TAIL_CALL_CNT)); in bpf_jit_emit_tail_call() 311 EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), in bpf_jit_emit_tail_call() [all...] |
/kernel/linux/linux-5.10/arch/arm/net/ |
H A D | bpf_jit_32.c | 127 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) /* TEMP Register 1 */ macro 169 [TMP_REG_1] = {ARM_R7, ARM_R6}, 480 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_udivmod() 608 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_i() 620 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_i64() 721 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_alu_r() 735 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_alu_r64() 765 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_r() 787 const u8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_r64() 804 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_alu_i() [all...] |
/kernel/linux/linux-6.6/arch/arm/net/ |
H A D | bpf_jit_32.c | 127 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) /* TEMP Register 1 */ macro 169 [TMP_REG_1] = {ARM_R7, ARM_R6}, 480 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_udivmod() 608 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_i() 620 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_i64() 719 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_alu_r64() 749 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_r() 771 const u8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_mov_r64() 788 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_alu_i() 815 const s8 *tmp = bpf2a32[TMP_REG_1]; in emit_a32_neg64() [all...] |
/kernel/linux/linux-5.10/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 203 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 231 [TMP_REG_1] = G1, 308 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_alu_K() 327 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_alu3_K() 468 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_loadimm64() 663 const u8 tmp = bpf2sparc[TMP_REG_1]; in emit_compare_and_branch() 854 const u8 tmp = bpf2sparc[TMP_REG_1]; in emit_tail_call() 954 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() 965 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() 1022 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() [all...] |
/kernel/linux/linux-6.6/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 203 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 231 [TMP_REG_1] = G1, 308 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_alu_K() 327 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_alu3_K() 468 unsigned int tmp = bpf2sparc[TMP_REG_1]; in emit_loadimm64() 663 const u8 tmp = bpf2sparc[TMP_REG_1]; in emit_compare_and_branch() 854 const u8 tmp = bpf2sparc[TMP_REG_1]; in emit_tail_call() 954 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() 965 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() 1022 const u8 tmp = bpf2sparc[TMP_REG_1]; in build_insn() [all...] |
/kernel/linux/linux-6.6/arch/parisc/net/ |
H A D | bpf_jit_comp32.c | 69 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 103 [TMP_REG_1] = {HPPA_REG_T3, HPPA_REG_T2}, 424 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_i64() 512 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_i32() 567 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_r64() 635 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_alu_r32() 703 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_branch_r64() 870 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_branch_r32() 888 const s8 *tmp = regmap[TMP_REG_1]; in emit_call() 1009 const s8 *tmp1 = regmap[TMP_REG_1]; in emit_load_r64() [all...] |
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 65 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 97 [TMP_REG_1] = {RV_REG_T3, RV_REG_T2}, 246 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_i64() 330 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_i32() 409 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_r64() 514 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_r32() 568 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_branch_r64() 726 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_branch_r32() 841 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_load_r64() 879 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_store_r64() [all...] |
/kernel/linux/linux-6.6/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 65 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 97 [TMP_REG_1] = {RV_REG_T3, RV_REG_T2}, 246 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_i64() 330 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_i32() 409 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_r64() 514 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_alu_r32() 568 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_branch_r64() 726 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_branch_r32() 839 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_load_r64() 877 const s8 *tmp1 = bpf2rv32[TMP_REG_1]; in emit_store_r64() [all...] |
/kernel/linux/linux-6.6/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 27 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 62 [TMP_REG_1] = A64_R(10), 181 u8 tmp = bpf2a64[TMP_REG_1]; in emit_call() 385 const u8 tmp = bpf2a64[TMP_REG_1]; in emit_bpf_tail_call() 451 const u8 tmp = bpf2a64[TMP_REG_1]; in emit_lse_atomic() 521 const u8 tmp = bpf2a64[TMP_REG_1]; in emit_ll_sc_atomic() 640 const u8 tmp = bpf2a64[TMP_REG_1]; in build_plt() 767 const u8 tmp = bpf2a64[TMP_REG_1]; in build_insn()
|
/kernel/linux/linux-5.10/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 23 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 46 [TMP_REG_1] = A64_R(10), 272 const u8 tmp = bpf2a64[TMP_REG_1]; in emit_bpf_tail_call() 432 const u8 tmp = bpf2a64[TMP_REG_1]; in build_insn()
|
/kernel/linux/linux-5.10/arch/loongarch/net/ |
H A D | ebpf_jit.c | 9 #define TMP_REG_1 (MAX_BPF_JIT_REG + 0) macro 37 [TMP_REG_1] = LOONGARCH_GPR_T1, 224 u8 tmp1 = regmap[TMP_REG_1]; in emit_bpf_tail_call() 291 const u8 tmp = regmap[TMP_REG_1]; in build_insn()
|