Searched refs:BPF_REG_1 (Results 1 - 25 of 84) sorted by path

1234

/linux-master/tools/testing/selftests/bpf/verifier/
H A Dbasic_call.c42 BPF_ALU64_REG(BPF_MOV, BPF_REG_6, BPF_REG_1),
44 BPF_ALU64_REG(BPF_MOV, BPF_REG_1, BPF_REG_6),
H A Dbasic_stx_ldx.c40 BPF_LDX_MEM(BPF_B, 11, BPF_REG_1, 0),
H A Dld_abs.c4 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
5 BPF_MOV64_IMM(BPF_REG_1, 0),
7 BPF_MOV64_REG(BPF_REG_0, BPF_REG_1),
16 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
28 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
40 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
52 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
64 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
75 BPF_MOV64_REG(BPF_REG_6, BPF_REG_1),
81 BPF_MOV64_REG(BPF_REG_1, BPF_REG_
[all...]
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c154 [BPF_REG_1] = {ARM_R3, ARM_R2},
1528 const s8 *bpf_r1 = bpf2a32[BPF_REG_1];
2051 const s8 *r1 = bpf2a32[BPF_REG_1];
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c49 [BPF_REG_1] = A64_R(0),
/linux-master/arch/loongarch/net/
H A Dbpf_jit.c19 [BPF_REG_1] = LOONGARCH_GPR_A0,
/linux-master/arch/mips/net/
H A Dbpf_jit_comp32.c120 [BPF_REG_1] = {MIPS_R_A1, MIPS_R_A0},
529 const u8 *r1 = bpf2mips32[BPF_REG_1]; /* Mapped to a0-a1 */
801 const u8 *r1 = bpf2mips32[BPF_REG_1]; /* Mapped to a0-a1 */
1375 const u8 *r1 = bpf2mips32[BPF_REG_1];
H A Dbpf_jit_comp64.c68 [BPF_REG_1] = MIPS_R_A0,
/linux-master/arch/parisc/net/
H A Dbpf_jit_comp32.c78 [BPF_REG_1] = {HPPA_R(3), HPPA_R(4)},
913 reg = bpf_get_reg64_offset(regmap[BPF_REG_1], tmp, offset_sp, ctx);
1587 dst = regmap[BPF_REG_1];
H A Dbpf_jit_comp64.c22 [BPF_REG_1] = HPPA_R(5),
469 emit_hppa_copy(regmap[BPF_REG_1], HPPA_REG_ARG0, ctx);
1167 LOAD_PARAM(HPPA_REG_ARG0, BPF_REG_1);
/linux-master/arch/powerpc/net/
H A Dbpf_jit_comp32.c51 ctx->b2p[BPF_REG_1] = _R4;
145 EMIT(PPC_RAW_MR(bpf_to_ppc(BPF_REG_1), _R3));
146 EMIT(PPC_RAW_LI(bpf_to_ppc(BPF_REG_1) - 1, 0));
225 * r3-r4/BPF_REG_1 - pointer to ctx -- passed as is to the next bpf program
267 EMIT(PPC_RAW_MR(_R3, bpf_to_ppc(BPF_REG_1)));
H A Dbpf_jit_comp64.c54 ctx->b2p[BPF_REG_1] = _R3;
280 * r3/BPF_REG_1 - pointer to ctx -- passed as is to the next bpf program
/linux-master/arch/riscv/net/
H A Dbpf_jit_comp32.c75 [BPF_REG_1] = {RV_REG_A1, RV_REG_A0},
1307 const s8 *r1 = bpf2rv32[BPF_REG_1];
H A Dbpf_jit_comp64.c24 [BPF_REG_1] = RV_REG_A0,
1475 u8 reg = bpf_to_rv_reg(BPF_REG_1 + idx, ctx);
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c72 #define REG_2 BPF_REG_1 /* Register 2 */
86 [BPF_REG_1] = 2,
1571 if (sign_extend(jit, BPF_REG_1 + j,
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c213 [BPF_REG_1] = O0,
/linux-master/arch/x86/net/
H A Dbpf_jit_comp.c130 [BPF_REG_1] = 7, /* RDI */
148 [BPF_REG_1] = offsetof(struct pt_regs, di),
184 (1 << reg) & (BIT(BPF_REG_1) |
2434 nr_regs == 5 ? X86_REG_R9 : BPF_REG_1 + nr_regs,
2462 nr_regs == 5 ? X86_REG_R9 : BPF_REG_1 + nr_regs,
2489 emit_mov_imm64(&prog, BPF_REG_1, (long) cookie >> 32, (u32) (long) cookie);
2498 emit_stx(&prog, BPF_DW, BPF_REG_FP, BPF_REG_1, -run_ctx_off + ctx_cookie_off);
2501 emit_mov_imm64(&prog, BPF_REG_1, (long) p >> 32, (u32) (long) p);
2551 emit_mov_imm64(&prog, BPF_REG_1, (long) p >> 32, (u32) (long) p);
2864 emit_mov_imm64(&prog, BPF_REG_1, (lon
[all...]
H A Dbpf_jit_comp32.c144 [BPF_REG_1] = {STACK_OFFSET(8), STACK_OFFSET(12)},
174 * Stack space for BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4,
1204 const u8 *r1 = bpf2ia32[BPF_REG_1];
1303 const u8 *r1 = bpf2ia32[BPF_REG_1];
1555 * [BPF_REG_1, first_stack_regno) to EAX, EDX, and ECX.
1585 first_stack_regno = BPF_REG_1;
1609 for (i = BPF_REG_1; i < first_stack_regno; i++) {
2085 const u8 *r1 = bpf2ia32[BPF_REG_1];
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c85 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1;
174 const struct bpf_reg_state *reg1 = cur_regs(env) + BPF_REG_1;
/linux-master/include/linux/
H A Dbpf_verifier.h244 #define BPF_REGMASK_ARGS ((1 << BPF_REG_1) | (1 << BPF_REG_2) | \
H A Dfilter.h46 #define BPF_REG_ARG1 BPF_REG_1
/linux-master/include/uapi/linux/
H A Dbpf.h61 BPF_REG_1, enumerator in enum:__anon2579
/linux-master/kernel/bpf/
H A Darraymap.c211 const int map_ptr = BPF_REG_1;
1340 const int map_ptr = BPF_REG_1;
H A Dcore.c46 #define BPF_R1 regs[BPF_REG_1]
H A Dhashtab.c761 const int ref_reg = BPF_REG_1;

Completed in 360 milliseconds

1234