Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c57 #define AX regs[BPF_REG_AX]
969 BUILD_BUG_ON(BPF_REG_AX + 1 != MAX_BPF_JIT_REG); in bpf_jit_blind_insn()
989 if (from->dst_reg == BPF_REG_AX || from->src_reg == BPF_REG_AX) in bpf_jit_blind_insn()
1009 *to++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ from->imm); in bpf_jit_blind_insn()
1010 *to++ = BPF_ALU32_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn()
1011 *to++ = BPF_ALU32_REG(from->code, from->dst_reg, BPF_REG_AX); in bpf_jit_blind_insn()
1023 *to++ = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ from->imm); in bpf_jit_blind_insn()
1024 *to++ = BPF_ALU64_IMM(BPF_XOR, BPF_REG_AX, imm_rnd); in bpf_jit_blind_insn()
1025 *to++ = BPF_ALU64_REG(from->code, from->dst_reg, BPF_REG_AX); in bpf_jit_blind_insn()
1043 *to++ = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ from->imm); in bpf_jit_blind_insn()
[all …]
Dverifier.c10884 rnd_hi32_patch[1] = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, 0); in opt_subreg_zext_lo32_rnd_hi32()
10885 rnd_hi32_patch[2] = BPF_ALU64_IMM(BPF_LSH, BPF_REG_AX, 32); in opt_subreg_zext_lo32_rnd_hi32()
10886 rnd_hi32_patch[3] = BPF_ALU64_REG(BPF_OR, 0, BPF_REG_AX); in opt_subreg_zext_lo32_rnd_hi32()
11492 *patch++ = BPF_MOV32_IMM(BPF_REG_AX, aux->alu_limit); in fixup_bpf_calls()
11496 *patch++ = BPF_MOV32_IMM(BPF_REG_AX, aux->alu_limit); in fixup_bpf_calls()
11497 *patch++ = BPF_ALU64_REG(BPF_SUB, BPF_REG_AX, off_reg); in fixup_bpf_calls()
11498 *patch++ = BPF_ALU64_REG(BPF_OR, BPF_REG_AX, off_reg); in fixup_bpf_calls()
11499 *patch++ = BPF_ALU64_IMM(BPF_NEG, BPF_REG_AX, 0); in fixup_bpf_calls()
11500 *patch++ = BPF_ALU64_IMM(BPF_ARSH, BPF_REG_AX, 63); in fixup_bpf_calls()
11501 *patch++ = BPF_ALU64_REG(BPF_AND, BPF_REG_AX, off_reg); in fixup_bpf_calls()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/net/
Dbpf_jit64.h59 [BPF_REG_AX] = 2,
/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp32.c161 [BPF_REG_AX] = {IA32_ESI, IA32_EDI},
1494 const bool dstk = insn->dst_reg != BPF_REG_AX; in do_jit()
1495 const bool sstk = insn->src_reg != BPF_REG_AX; in do_jit()
Dbpf_jit_comp.c126 [BPF_REG_AX] = 2, /* R10 temp register */
157 BIT(BPF_REG_AX)); in is_ereg()
/kernel/linux/linux-5.10/include/linux/
Dfilter.h62 #define BPF_REG_AX MAX_BPF_REG macro
/kernel/linux/linux-5.10/arch/arm64/net/
Dbpf_jit_comp.c52 [BPF_REG_AX] = A64_R(9),
/kernel/linux/linux-5.10/arch/riscv/net/
Dbpf_jit_comp64.c27 [BPF_REG_AX] = RV_REG_T0,
Dbpf_jit_comp32.c91 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
/kernel/linux/linux-5.10/arch/s390/net/
Dbpf_jit_comp.c93 [BPF_REG_AX] = 12,
/kernel/linux/linux-5.10/arch/sparc/net/
Dbpf_jit_comp_64.c228 [BPF_REG_AX] = G7,
/kernel/linux/linux-5.10/arch/mips/net/
Debpf_jit.c234 case BPF_REG_AX: in ebpf_to_mips_reg()
/kernel/linux/linux-5.10/arch/arm/net/
Dbpf_jit_32.c176 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
/kernel/linux/linux-5.10/net/core/
Dfilter.c8266 BPF_REG_AX, si->src_reg, in bpf_convert_shinfo_access()
8271 *insn++ = BPF_ALU64_REG(BPF_ADD, si->dst_reg, BPF_REG_AX); in bpf_convert_shinfo_access()