Searched refs:BPF_REG_AX (Results 1 – 16 of 16) sorted by relevance
/linux/kernel/bpf/ |
A D | core.c | 57 #define AX regs[BPF_REG_AX] 972 BUILD_BUG_ON(BPF_REG_AX + 1 != MAX_BPF_JIT_REG); in bpf_jit_blind_insn() 992 if (from->dst_reg == BPF_REG_AX || from->src_reg == BPF_REG_AX) in bpf_jit_blind_insn() 1013 *to++ = BPF_ALU32_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() 1027 *to++ = BPF_ALU64_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() 1047 *to++ = BPF_ALU64_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() 1067 *to++ = BPF_ALU32_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() 1074 *to++ = BPF_ALU64_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() 1075 *to++ = BPF_ALU64_IMM(BPF_LSH, BPF_REG_AX, 32); in bpf_jit_blind_insn() 1080 *to++ = BPF_ALU32_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn() [all …]
|
A D | verifier.c | 12303 rnd_hi32_patch[1] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, 0); in opt_subreg_zext_lo32_rnd_hi32() 12304 rnd_hi32_patch[2] = BPF_ALU64_IMM(BPF_LSH, BPF_REG_AX, 32); in opt_subreg_zext_lo32_rnd_hi32() 12305 rnd_hi32_patch[3] = BPF_ALU64_REG(BPF_OR, 0, BPF_REG_AX); in opt_subreg_zext_lo32_rnd_hi32() 12982 *patch++ = BPF_MOV32_IMM(BPF_REG_AX, aux->alu_limit); in do_misc_fixups() 12986 *patch++ = BPF_MOV32_IMM(BPF_REG_AX, aux->alu_limit); in do_misc_fixups() 12987 *patch++ = BPF_ALU64_REG(BPF_SUB, BPF_REG_AX, off_reg); in do_misc_fixups() 12988 *patch++ = BPF_ALU64_REG(BPF_OR, BPF_REG_AX, off_reg); in do_misc_fixups() 12989 *patch++ = BPF_ALU64_IMM(BPF_NEG, BPF_REG_AX, 0); in do_misc_fixups() 12990 *patch++ = BPF_ALU64_IMM(BPF_ARSH, BPF_REG_AX, 63); in do_misc_fixups() 12991 *patch++ = BPF_ALU64_REG(BPF_AND, BPF_REG_AX, off_reg); in do_misc_fixups() [all …]
|
/linux/arch/powerpc/net/ |
A D | bpf_jit64.h | 59 [BPF_REG_AX] = 2,
|
A D | bpf_jit_comp32.c | 57 [BPF_REG_AX] = 20,
|
/linux/arch/x86/net/ |
A D | bpf_jit_comp.c | 126 [BPF_REG_AX] = 2, /* R10 temp register */ 157 BIT(BPF_REG_AX)); in is_ereg() 1363 emit_mov_reg(&prog, true, BPF_REG_AX, BPF_REG_0); in do_jit() 1365 real_src_reg = BPF_REG_AX; in do_jit() 1367 real_dst_reg = BPF_REG_AX; in do_jit() 1396 emit_mov_reg(&prog, true, BPF_REG_0, BPF_REG_AX); in do_jit()
|
A D | bpf_jit_comp32.c | 161 [BPF_REG_AX] = {IA32_ESI, IA32_EDI}, 1675 const bool dstk = insn->dst_reg != BPF_REG_AX; in do_jit() 1676 const bool sstk = insn->src_reg != BPF_REG_AX; in do_jit()
|
/linux/net/core/ |
A D | filter.c | 8531 BPF_REG_AX, si->src_reg, in bpf_convert_shinfo_access() 8536 *insn++ = BPF_ALU64_REG(BPF_ADD, si->dst_reg, BPF_REG_AX); in bpf_convert_shinfo_access() 9783 BPF_REG_AX, si->src_reg, in bpf_convert_data_end_access() 9786 *insn++ = BPF_ALU64_REG(BPF_ADD, reg, BPF_REG_AX); in bpf_convert_data_end_access() 9789 BPF_REG_AX, si->src_reg, in bpf_convert_data_end_access() 9793 *insn++ = BPF_ALU64_REG(BPF_SUB, reg, BPF_REG_AX); in bpf_convert_data_end_access() 9797 *insn++ = BPF_MOV64_REG(BPF_REG_AX, si->src_reg); in bpf_convert_data_end_access() 9799 *insn++ = BPF_LDX_MEM(BPF_DW, reg, BPF_REG_AX, temp_reg_off); in bpf_convert_data_end_access()
|
/linux/arch/mips/net/ |
A D | bpf_jit_comp64.c | 81 [BPF_REG_AX] = MIPS_R_AT,
|
A D | bpf_jit_comp32.c | 138 [BPF_REG_AX] = {MIPS_R_GP, MIPS_R_AT},
|
/linux/arch/arm64/net/ |
A D | bpf_jit_comp.c | 54 [BPF_REG_AX] = A64_R(9),
|
/linux/include/linux/ |
A D | filter.h | 61 #define BPF_REG_AX MAX_BPF_REG macro
|
/linux/arch/s390/net/ |
A D | bpf_jit_comp.c | 93 [BPF_REG_AX] = 12,
|
/linux/arch/riscv/net/ |
A D | bpf_jit_comp64.c | 28 [BPF_REG_AX] = RV_REG_T0,
|
A D | bpf_jit_comp32.c | 91 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
|
/linux/arch/sparc/net/ |
A D | bpf_jit_comp_64.c | 228 [BPF_REG_AX] = G7,
|
/linux/arch/arm/net/ |
A D | bpf_jit_32.c | 176 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
|
Completed in 84 milliseconds