Searched refs:BPF_REG_0 (Results 76 - 100 of 104) sorted by relevance

12345

/linux-master/arch/mips/net/
H A Dbpf_jit_comp64.c66 [BPF_REG_0] = MIPS_R_V0,
423 u8 r0 = bpf2mips64[BPF_REG_0];
639 u8 res = bpf2mips64[BPF_REG_0];
H A Dbpf_jit_comp32.c118 [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/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c723 BPF_MOV64_IMM(BPF_REG_0, rc),
794 BPF_MOV64_IMM(BPF_REG_0, 1),
857 BPF_MOV64_IMM(BPF_REG_0, 1),
H A Dxskxceiver.c2426 BPF_MOV64_IMM(BPF_REG_0, XDP_PASS),
/linux-master/arch/x86/net/
H A Dbpf_jit_comp32.c140 [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/riscv/net/
H A Dbpf_jit_comp64.c23 [BPF_REG_0] = RV_REG_A5,
533 r0 = bpf_to_rv_reg(BPF_REG_0, ctx);
746 emit_sd(RV_REG_FP, -(retval_off - 8), regmap[BPF_REG_0], ctx);
947 emit_sd(RV_REG_FP, -(retval_off - 8), regmap[BPF_REG_0], ctx);
981 emit_ld(regmap[BPF_REG_0], -(retval_off - 8), RV_REG_FP, ctx);
1487 emit_mv(bpf_to_rv_reg(BPF_REG_0, ctx), RV_REG_A0, ctx);
H A Dbpf_jit_comp32.c73 [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/parisc/net/
H A Dbpf_jit_comp64.c21 [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 Dbpf_jit_comp32.c75 [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 Dfexit_bpf2bpf.c467 BPF_MOV64_IMM(BPF_REG_0, 0),
H A Dflow_dissector_reattach.c45 BPF_MOV64_IMM(BPF_REG_0, BPF_OK),
H A Dtoken.c645 BPF_MOV64_IMM(BPF_REG_0, 0),
/linux-master/arch/s390/net/
H A Dbpf_jit_comp.c77 #define REG_14 BPF_REG_0 /* Register 14 */
84 [BPF_REG_0] = 14,
648 EMIT4(0xb9040000, REG_2, BPF_REG_0);
1472 BPF_REG_0, src_reg, dst_reg, off);
1583 EMIT4(0xb9040000, BPF_REG_0, REG_2);
/linux-master/arch/arm64/net/
H A Dbpf_jit_comp.c47 [BPF_REG_0] = A64_R(7),
539 emit(A64_CASAL(isdw, src, reg, bpf2a64[BPF_REG_0]), ctx);
627 const u8 r0 = bpf2a64[BPF_REG_0];
697 const u8 r0 = bpf2a64[BPF_REG_0];
1181 const u8 r0 = bpf2a64[BPF_REG_0];
/linux-master/arch/sparc/net/
H A Dbpf_jit_comp_64.c210 [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/kernel/bpf/
H A Darraymap.c210 const int ret = BPF_REG_0;
1339 const int ret = BPF_REG_0;
H A Dhashtab.c720 const int ret = BPF_REG_0;
760 const int ret = BPF_REG_0;
2577 const int ret = BPF_REG_0;
H A Dcore.c45 #define BPF_R0 regs[BPF_REG_0]
/linux-master/arch/arm/net/
H A Dbpf_jit_32.c152 [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 Dverifier.c314 const struct bpf_reg_state *reg0 = cur_regs(env) + BPF_REG_0;
/linux-master/tools/bpf/bpftool/
H A Dcommon.c102 BPF_MOV64_IMM(BPF_REG_0, 0),
/linux-master/include/uapi/linux/
H A Dbpf.h60 BPF_REG_0 = 0, enumerator in enum:__anon2579
/linux-master/tools/include/uapi/linux/
H A Dbpf.h60 BPF_REG_0 = 0, enumerator in enum:__anon3120
/linux-master/include/linux/
H A Dfilter.h55 #define BPF_REG_A BPF_REG_0
/linux-master/net/core/
H A Dfilter.c808 * extra mov as BPF_REG_0 is already mapped into BPF_REG_A.
813 *insn++ = BPF_MOV32_RAW(BPF_K, BPF_REG_0,
8848 *insn++ = BPF_JMP_IMM(BPF_JEQ, BPF_REG_0, 0, 2);
8849 *insn++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_0, drop_verdict);
8888 *insn++ = BPF_JMP_IMM(BPF_JSGE, BPF_REG_0, 0, 2);
8889 *insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_0, BPF_REG_0);

Completed in 273 milliseconds

12345