Searched refs:rv_jit_context (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/arch/riscv/net/ |
| H A D | bpf_jit.h | 78 struct rv_jit_context { struct 104 struct rv_jit_context ctx; argument 118 static inline void emit(const u32 insn, struct rv_jit_context *ctx) in emit() 129 static inline void emitc(const u16 insn, struct rv_jit_context *ctx) in emitc() 139 static inline int epilogue_offset(struct rv_jit_context *ctx) in epilogue_offset() 229 static inline int rv_offset(int insn, int off, struct rv_jit_context *ctx) in rv_offset() 980 static inline void emit_mv(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_mv() 1009 static inline void emit_li(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_li() 1017 static inline void emit_lui(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_lui() 1170 static inline void emit_sextb(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_sextb() [all …]
|
| H A D | bpf_jit_comp64.c | 281 struct rv_jit_context *ctx) in emit_bcc() 317 struct rv_jit_context *ctx) in emit_branch() 407 struct rv_jit_context *ctx) in init_regs() 428 struct rv_jit_context *ctx) in emit_jump_and_link() 477 struct rv_jit_context *ctx) in emit_atomic() 581 struct rv_jit_context *ctx, in add_exception_handler() 652 struct rv_jit_context ctx; in gen_jump_or_nops() 726 struct rv_jit_context *ctx) in restore_stack_args() 806 struct rv_jit_context *ctx) in __arch_prepare_bpf_trampoline() 1064 struct rv_jit_context ctx; in arch_bpf_trampoline_size() [all …]
|
| H A D | bpf_jit_comp32.c | 137 struct rv_jit_context *ctx) in emit_imm64() 186 struct rv_jit_context *ctx) in bpf_get_reg64() 197 struct rv_jit_context *ctx) in bpf_put_reg64() 206 struct rv_jit_context *ctx) in bpf_get_reg32() 216 struct rv_jit_context *ctx) in bpf_put_reg32() 228 struct rv_jit_context *ctx) in emit_jump_and_link() 244 struct rv_jit_context *ctx, const u8 op) in emit_alu_i64() 328 struct rv_jit_context *ctx, const u8 op) in emit_alu_i32() 407 struct rv_jit_context *ctx, const u8 op) in emit_alu_r64() 512 struct rv_jit_context *ctx, const u8 op) in emit_alu_r32() [all …]
|
| H A D | bpf_jit_core.c | 19 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() 52 struct rv_jit_context *ctx; in bpf_int_jit_compile()
|