/linux-master/tools/include/linux/ |
H A D | filter.h | 23 #define BPF_REG_A BPF_REG_0
|
/linux-master/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 66 [BPF_REG_0] = MIPS_R_V0, 423 u8 r0 = bpf2mips64[BPF_REG_0]; 639 u8 res = bpf2mips64[BPF_REG_0];
|
H A D | bpf_jit_comp32.c | 118 [BPF_REG_0] = {MIPS_R_V1, MIPS_R_V0}, 528 const u8 *r0 = bpf2mips32[BPF_REG_0]; /* Mapped to v0-v1 */ 800 const u8 *r0 = bpf2mips32[BPF_REG_0]; /* Mapped to v0-v1 */ 875 const u8 *r0 = bpf2mips32[BPF_REG_0]; 912 const u8 *r0 = bpf2mips32[BPF_REG_0]; 1467 const u8 *res = bpf2mips32[BPF_REG_0];
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 25 [BPF_REG_0] = RV_REG_A5, 539 r0 = bpf_to_rv_reg(BPF_REG_0, ctx); 755 emit_sd(RV_REG_FP, -(retval_off - 8), regmap[BPF_REG_0], ctx); 956 emit_sd(RV_REG_FP, -(retval_off - 8), regmap[BPF_REG_0], ctx); 990 emit_ld(regmap[BPF_REG_0], -(retval_off - 8), RV_REG_FP, ctx); 1507 emit_ld(bpf_to_rv_reg(BPF_REG_0, ctx), offsetof(struct thread_info, cpu), 1539 emit_mv(bpf_to_rv_reg(BPF_REG_0, ctx), RV_REG_A0, ctx);
|
H A D | bpf_jit_comp32.c | 73 [BPF_REG_0] = {RV_REG_S2, RV_REG_S1}, 146 const s8 *r0 = bpf2rv32[BPF_REG_0]; 744 const s8 *r0 = bpf2rv32[BPF_REG_0];
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 140 [BPF_REG_0] = {STACK_OFFSET(0), STACK_OFFSET(4)}, 1248 const u8 *r0 = bpf2ia32[BPF_REG_0]; 1597 last_stack_regno = BPF_REG_0 + fm->nr_args; 1643 STACK_VAR(bpf2ia32[BPF_REG_0][0])); 1648 STACK_VAR(bpf2ia32[BPF_REG_0][1])); 1680 const u8 *r0 = bpf2ia32[BPF_REG_0];
|
/linux-master/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 21 [BPF_REG_0] = HPPA_REG_RET0, 230 emit_hppa64_sext32(regmap[BPF_REG_0], HPPA_REG_RET0, ctx); 502 emit_hppa_copy(HPPA_REG_RET0, regmap[BPF_REG_0], ctx);
|
H A D | bpf_jit_comp32.c | 75 [BPF_REG_0] = {HPPA_REG_RET0, HPPA_REG_RET1}, /* HI/LOW */ 179 const s8 *r0 = regmap[BPF_REG_0]; 271 bpf_put_reg64(regmap[TMP_REG_R0], regmap[BPF_REG_0], ctx); 276 bpf_get_reg64(regmap[TMP_REG_R0], regmap[BPF_REG_0], ctx); 889 const s8 *r0 = regmap[BPF_REG_0];
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | fexit_bpf2bpf.c | 467 BPF_MOV64_IMM(BPF_REG_0, 0),
|
H A D | flow_dissector_reattach.c | 45 BPF_MOV64_IMM(BPF_REG_0, BPF_OK),
|
H A D | token.c | 645 BPF_MOV64_IMM(BPF_REG_0, 0),
|
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.c | 17 [BPF_REG_0] = LOONGARCH_GPR_A5, 182 move_reg(ctx, LOONGARCH_GPR_A0, regmap[BPF_REG_0]); 287 const u8 r0 = regmap[BPF_REG_0]; 908 move_reg(ctx, regmap[BPF_REG_0], LOONGARCH_GPR_A0);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 260 BPF_MOV64_IMM(BPF_REG_0, 0),
|
H A D | xskxceiver.c | 2516 BPF_MOV64_IMM(BPF_REG_0, XDP_PASS),
|
/linux-master/arch/s390/net/ |
H A D | bpf_jit_comp.c | 77 #define REG_14 BPF_REG_0 /* Register 14 */ 84 [BPF_REG_0] = 14, 648 EMIT4(0xb9040000, REG_2, BPF_REG_0); 1476 BPF_REG_0, src_reg, dst_reg, off); 1587 EMIT4(0xb9040000, BPF_REG_0, REG_2);
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 48 [BPF_REG_0] = A64_R(7), 554 emit(A64_CASAL(isdw, src, reg, bpf2a64[BPF_REG_0]), ctx); 648 const u8 r0 = bpf2a64[BPF_REG_0]; 718 const u8 r0 = bpf2a64[BPF_REG_0]; 1228 const u8 r0 = bpf2a64[BPF_REG_0];
|
/linux-master/arch/arc/net/ |
H A D | bpf_jit_arcv2.c | 42 * for BPF_REG_0. After a "call" to a(n) (in-kernel) function, the result 46 * BPF_REG_0, because it is very popular in BPF instruction encoding. 67 [BPF_REG_0] = {ARC_R_8, ARC_R_9}, 2307 len = arc_mov_r(buf, ARC_R_0, REG_LO(BPF_REG_0)); 2308 len += arc_mov_r(BUF(buf, len), ARC_R_1, REG_HI(BPF_REG_0)); 2322 len = arc_mov_r(buf, REG_LO(BPF_REG_0), ARC_R_0); 2323 len += arc_mov_r(BUF(buf, len), REG_HI(BPF_REG_0), ARC_R_1);
|
/linux-master/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 210 [BPF_REG_0] = O5, 847 emit(RESTORE | RS1(bpf2sparc[BPF_REG_0]) | RS2(G0) | RD(O0), ctx); 1223 emit_reg_move(O0, bpf2sparc[BPF_REG_0], ctx);
|
/linux-master/arch/arm/net/ |
H A D | bpf_jit_32.c | 152 [BPF_REG_0] = {ARM_R1, ARM_R0}, 1527 const s8 arm_r0 = bpf2a32[BPF_REG_0][1]; 2050 const s8 *r0 = bpf2a32[BPF_REG_0];
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | verifier.c | 314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0;
|
/linux-master/tools/bpf/bpftool/ |
H A D | common.c | 102 BPF_MOV64_IMM(BPF_REG_0, 0),
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 60 BPF_REG_0 = 0, enumerator in enum:__anon2874
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 60 BPF_REG_0 = 0, enumerator in enum:__anon3484
|
/linux-master/net/core/ |
H A D | filter.c | 811 * extra mov as BPF_REG_0 is already mapped into BPF_REG_A. 816 *insn++ = BPF_MOV32_RAW(BPF_K, BPF_REG_0, 8856 *insn++ = BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2); 8857 *insn++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, drop_verdict); 8896 *insn++ = BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 2); 8897 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_0, BPF_REG_0);
|
/linux-master/include/linux/ |
H A D | filter.h | 55 #define BPF_REG_A BPF_REG_0
|