Searched refs:bpf_to_rv_reg (Results 1 – 1 of 1) sorted by relevance
/linux/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 70 static u8 bpf_to_rv_reg(int bpf_reg, struct rv_jit_context *ctx) in bpf_to_rv_reg() function 418 *rd = bpf_to_rv_reg(insn->dst_reg, ctx); in init_regs() 424 *rs = bpf_to_rv_reg(insn->src_reg, ctx); in init_regs() 745 r0 = bpf_to_rv_reg(BPF_REG_0, ctx); in emit_atomic_rmw() 1766 emit_ld(bpf_to_rv_reg(BPF_REG_0, ctx), offsetof(struct thread_info, cpu), in bpf_jit_emit_insn() 1786 u8 reg = bpf_to_rv_reg(BPF_REG_1 + idx, ctx); in bpf_jit_emit_insn() 1798 emit_mv(bpf_to_rv_reg(BPF_REG_0, ctx), RV_REG_A0, ctx); in bpf_jit_emit_insn()
|