Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dalign.c213 BPF_MOV64_REG(BPF_REG_5, BPF_REG_2),
218 BPF_ALU64_IMM(BPF_ADD, BPF_REG_5, 14),
219 BPF_MOV64_REG(BPF_REG_4, BPF_REG_5),
224 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 0),
225 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 1),
226 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 2),
227 BPF_LDX_MEM(BPF_B, BPF_REG_4, BPF_REG_5, 3),
228 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 0),
229 BPF_LDX_MEM(BPF_H, BPF_REG_4, BPF_REG_5, 2),
230 BPF_LDX_MEM(BPF_W, BPF_REG_4, BPF_REG_5, 0),
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/verifier/
Datomic_cmpxchg.c172 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
174 BPF_ATOMIC_OP(BPF_DW, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
193 BPF_MOV64_REG(BPF_REG_5, BPF_REG_10),
195 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
212 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
214 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
233 BPF_MOV32_REG(BPF_REG_5, BPF_REG_10),
235 BPF_ATOMIC_OP(BPF_W, BPF_CMPXCHG, BPF_REG_10, BPF_REG_5, -8),
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),
Dcalls.c1944 BPF_MOV64_IMM(BPF_REG_5, 0),
1946 BPF_MOV64_IMM(BPF_REG_5, 1),
1951 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
1980 BPF_MOV64_IMM(BPF_REG_5, 0),
1982 BPF_MOV64_IMM(BPF_REG_5, 1),
1986 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
2012 BPF_MOV64_IMM(BPF_REG_5, 0),
2016 BPF_MOV64_IMM(BPF_REG_5, 1),
2020 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
2048 BPF_MOV64_IMM(BPF_REG_5, 0),
[all …]
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),
Dld_abs.c53 BPF_MOV64_IMM(BPF_REG_5, 0),
55 BPF_MOV64_REG(BPF_REG_0, BPF_REG_5),
Devent_output.c34 BPF_MOV64_IMM(BPF_REG_5, 8), \
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_ld_ind.c90 : __imm_insn(ld_ind, BPF_LD_IND(BPF_W, BPF_REG_5, -0x200000)) in ind_check_calling_conv_r5()
/Linux-v6.6/arch/powerpc/net/
Dbpf_jit_comp32.c55 ctx->b2p[BPF_REG_5] = _R22; in bpf_jit_init_reg_mapping()
1051 if (bpf_is_seen_register(ctx, bpf_to_ppc(BPF_REG_5))) { in bpf_jit_build_body()
1052 EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5) - 1, _R1, 8)); in bpf_jit_build_body()
1053 EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5), _R1, 12)); in bpf_jit_build_body()
Dbpf_jit_comp64.c58 ctx->b2p[BPF_REG_5] = _R7; in bpf_jit_init_reg_mapping()
/Linux-v6.6/tools/include/linux/
Dfilter.h18 #define BPF_REG_ARG5 BPF_REG_5
/Linux-v6.6/arch/parisc/net/
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()
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()
/Linux-v6.6/include/linux/
Dbpf_verifier.h246 (1 << BPF_REG_5))
Dfilter.h50 #define BPF_REG_ARG5 BPF_REG_5
/Linux-v6.6/arch/x86/net/
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()
Dbpf_jit_comp32.c148 [BPF_REG_5] = {STACK_OFFSET(40), STACK_OFFSET(44)},
2089 const u8 *r5 = bpf2ia32[BPF_REG_5]; in do_jit()
/Linux-v6.6/arch/s390/net/
Dbpf_jit_comp.c90 [BPF_REG_5] = 6,
1414 REG_SET_SEEN(BPF_REG_5); in bpf_jit_insn()
/Linux-v6.6/arch/riscv/net/
Dbpf_jit_comp32.c79 [BPF_REG_5] = {RV_REG_S4, RV_REG_S3},
745 const s8 *r5 = bpf2rv32[BPF_REG_5]; in emit_call()
/Linux-v6.6/arch/arm/net/
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()
/Linux-v6.6/kernel/bpf/
Dverifier.c1876 BPF_REG_0, BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4, BPF_REG_5
3549 for (i = BPF_REG_1; i <= BPF_REG_5; i++) { in backtrack_insn()
3578 for (i = BPF_REG_1; i <= BPF_REG_5; i++) in backtrack_insn()
7135 WARN_ON_ONCE(regno < BPF_REG_2 || regno > BPF_REG_5); in check_kfunc_mem_size_reg()
9011 __mark_reg_not_init(env, &callee->regs[BPF_REG_5]); in map_set_for_each_callback_args()
9024 for (i = BPF_REG_1; i <= BPF_REG_5; i++) in set_callee_state()
9090 __mark_reg_not_init(env, &callee->regs[BPF_REG_5]); in set_loop_callback_state()
9121 __mark_reg_not_init(env, &callee->regs[BPF_REG_5]); in set_timer_callback_state()
9149 __mark_reg_not_init(env, &callee->regs[BPF_REG_5]); in set_find_vma_callback_state()
9171 __mark_reg_not_init(env, &callee->regs[BPF_REG_5]); in set_user_ringbuf_callback_state()
[all …]
/Linux-v6.6/arch/mips/net/
Dbpf_jit_comp64.c72 [BPF_REG_5] = MIPS_R_A4,
/Linux-v6.6/Documentation/bpf/
Dverifier.rst781 BPF_MOV64_IMM(BPF_REG_5, 0),
809 BPF_MOV64_IMM(BPF_REG_5, 0),
/Linux-v6.6/arch/loongarch/net/
Dbpf_jit.c23 [BPF_REG_5] = LOONGARCH_GPR_A4,
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h60 BPF_REG_5, enumerator

12