Home
last modified time | relevance | path

Searched refs:BPF_REG_AX (Results 1 – 16 of 16) sorted by relevance

/linux/kernel/bpf/
A Dcore.c57 #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 Dverifier.c12303 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 Dbpf_jit64.h59 [BPF_REG_AX] = 2,
A Dbpf_jit_comp32.c57 [BPF_REG_AX] = 20,
/linux/arch/x86/net/
A Dbpf_jit_comp.c126 [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 Dbpf_jit_comp32.c161 [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 Dfilter.c8531 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 Dbpf_jit_comp64.c81 [BPF_REG_AX] = MIPS_R_AT,
A Dbpf_jit_comp32.c138 [BPF_REG_AX] = {MIPS_R_GP, MIPS_R_AT},
/linux/arch/arm64/net/
A Dbpf_jit_comp.c54 [BPF_REG_AX] = A64_R(9),
/linux/include/linux/
A Dfilter.h61 #define BPF_REG_AX MAX_BPF_REG macro
/linux/arch/s390/net/
A Dbpf_jit_comp.c93 [BPF_REG_AX] = 12,
/linux/arch/riscv/net/
A Dbpf_jit_comp64.c28 [BPF_REG_AX] = RV_REG_T0,
A Dbpf_jit_comp32.c91 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
/linux/arch/sparc/net/
A Dbpf_jit_comp_64.c228 [BPF_REG_AX] = G7,
/linux/arch/arm/net/
A Dbpf_jit_32.c176 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},

Completed in 92 milliseconds