Searched refs:BPF_REG_AX (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/kernel/bpf/ |
D | core.c | 57 #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 …]
|
D | verifier.c | 10884 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/ |
D | bpf_jit64.h | 59 [BPF_REG_AX] = 2,
|
/kernel/linux/linux-5.10/arch/x86/net/ |
D | bpf_jit_comp32.c | 161 [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()
|
D | bpf_jit_comp.c | 126 [BPF_REG_AX] = 2, /* R10 temp register */ 157 BIT(BPF_REG_AX)); in is_ereg()
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 62 #define BPF_REG_AX MAX_BPF_REG macro
|
/kernel/linux/linux-5.10/arch/arm64/net/ |
D | bpf_jit_comp.c | 52 [BPF_REG_AX] = A64_R(9),
|
/kernel/linux/linux-5.10/arch/riscv/net/ |
D | bpf_jit_comp64.c | 27 [BPF_REG_AX] = RV_REG_T0,
|
D | bpf_jit_comp32.c | 91 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
|
/kernel/linux/linux-5.10/arch/s390/net/ |
D | bpf_jit_comp.c | 93 [BPF_REG_AX] = 12,
|
/kernel/linux/linux-5.10/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 228 [BPF_REG_AX] = G7,
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 234 case BPF_REG_AX: in ebpf_to_mips_reg()
|
/kernel/linux/linux-5.10/arch/arm/net/ |
D | bpf_jit_32.c | 176 [BPF_REG_AX] = {STACK_OFFSET(BPF_AX_HI), STACK_OFFSET(BPF_AX_LO)},
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 8266 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()
|