Home
last modified time | relevance | path

Searched refs:BPF_REG_5 (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dalign.c213 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
219 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
256 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
259 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
268 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
270 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
272 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
281 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
284 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
287 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
[all …]
/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Datomic_cmpxchg.c161 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
163 BPF_ATOMIC_OP(BPF_DW, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
182 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
184 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
201 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
203 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
222 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
224 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
H A Datomic_fetch.c125 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 1, BPF_ADD | BPF_FETCH, 2, 3),
131 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010),
137 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011),
143 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_XOR | BPF_FETCH, 0x011, 0x001),
149 __ATOMIC_FETCH_OP_TEST(BPF_REG_4, BPF_REG_5, 0x010, BPF_XCHG, 0x011, 0x011),
H A Djit.c118 BPF_LD_IMM64(BPF_REG_5, 0xeeff0d413122ULL),
119 BPF_ALU32_REG(BPF_MUL, BPF_REG_5, BPF_REG_1),
120 BPF_JMP_REG(BPF_JEQ, BPF_REG_5, BPF_REG_0, 2),
H A Dcalls.c1946 BPF_MOV64_IMM(BPF_REG_5, 0),
1948 BPF_MOV64_IMM(BPF_REG_5, 1),
1982 BPF_MOV64_IMM(BPF_REG_5, 0),
1984 BPF_MOV64_IMM(BPF_REG_5, 1),
2014 BPF_MOV64_IMM(BPF_REG_5, 0),
2018 BPF_MOV64_IMM(BPF_REG_5, 1),
2050 BPF_MOV64_IMM(BPF_REG_5, 0),
2054 BPF_MOV64_IMM(BPF_REG_5, 1),
2085 BPF_MOV64_IMM(BPF_REG_5, 0),
2089 BPF_MOV64_IMM(BPF_REG_5, 1),
[all …]
H A Devent_output.c34 BPF_MOV64_IMM(BPF_REG_5, 8), \
H A Dld_abs.c53 BPF_MOV64_IMM(BPF_REG_5, 0),
55 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_ld_ind.c90 : __imm_insn(ld_ind, BPF_LD_IND(BPF_W, BPF_REG_5, -0x200000)) in ind_check_calling_conv_r5()
/openbmc/linux/tools/include/linux/
H A Dfilter.h18 #define BPF_REG_ARG5 BPF_REG_5
/openbmc/linux/arch/powerpc/net/
H A Dbpf_jit_comp32.c55 ctx->b2p[BPF_REG_5] = _R22; in bpf_jit_init_reg_mapping()
1063 if (bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_5))) { in bpf_jit_build_body()
1064 EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5) - 1, _R1, 8)); in bpf_jit_build_body()
1065 EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5), _R1, 12)); in bpf_jit_build_body()
H A Dbpf_jit_comp64.c58 ctx->b2p[BPF_REG_5] = _R7; in bpf_jit_init_reg_mapping()
/openbmc/linux/arch/parisc/net/
H A Dbpf_jit_comp64.c26 [BPF_REG_5] = HPPA_R(9),
473 emit_hppa_copy(regmap[BPF_REG_5], HPPA_REG_ARG4, ctx); in emit_call()
1171 LOAD_PARAM(HPPA_REG_ARG4, BPF_REG_5); in bpf_jit_build_prologue()
H A Dbpf_jit_comp32.c82 [BPF_REG_5] = {HPPA_R(11), HPPA_R(12)},
897 reg = bpf_get_reg64_offset(regmap[BPF_REG_5], tmp, offset_sp, ctx); in emit_call()
1547 dst = regmap[BPF_REG_5]; in bpf_jit_build_prologue()
/openbmc/linux/include/linux/
H A Dbpf_verifier.h246 (1 << BPF_REG_5))
H A Dfilter.h50 #define BPF_REG_ARG5 BPF_REG_5
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c127 [BPF_REG_5] = 0, /* R8 */
144 [BPF_REG_5] = offsetof(struct pt_regs, r8),
158 return (1 << reg) & (BIT(BPF_REG_5) | in is_ereg()
H A Dbpf_jit_comp32.c148 [BPF_REG_5] = {STACK_OFFSET(40), STACK_OFFSET(44)},
2089 const u8 *r5 = bpf2ia32[BPF_REG_5]; in do_jit()
/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp32.c79 [BPF_REG_5] = {RV_REG_S4, RV_REG_S3},
745 const s8 *r5 = bpf2rv32[BPF_REG_5]; in emit_call()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c90 [BPF_REG_5] = 6,
1418 REG_SET_SEEN(BPF_REG_5); in bpf_jit_insn()
/openbmc/linux/arch/arm/net/
H A Dbpf_jit_32.c157 [BPF_REG_5] = {STACK_OFFSET(BPF_R5_HI), STACK_OFFSET(BPF_R5_LO)},
1785 const s8 *r5 = bpf2a32[BPF_REG_5]; in build_insn()
/openbmc/linux/arch/mips/net/
H A Dbpf_jit_comp64.c72 [BPF_REG_5] = MIPS_R_A4,
/openbmc/linux/Documentation/bpf/
H A Dverifier.rst781 BPF_MOV64_IMM(BPF_REG_5, 0),
809 BPF_MOV64_IMM(BPF_REG_5, 0),
/openbmc/linux/arch/loongarch/net/
H A Dbpf_jit.c23 [BPF_REG_5] = LOONGARCH_GPR_A4,
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h60 BPF_REG_5, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h60 BPF_REG_5, enumerator

12