Searched refs:rv_jit_context (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/arch/riscv/net/ |
A D | bpf_jit.h | 68 struct rv_jit_context { struct 89 struct rv_jit_context ctx; argument 103 static inline void emit(const u32 insn, struct rv_jit_context *ctx) in emit() 114 static inline void emitc(const u16 insn, struct rv_jit_context *ctx) in emitc() 124 static inline int epilogue_offset(struct rv_jit_context *ctx) in epilogue_offset() 214 static inline int rv_offset(int insn, int off, struct rv_jit_context *ctx) in rv_offset() 889 static inline void emit_mv(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_mv() 918 static inline void emit_li(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_li() 926 static inline void emit_lui(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_lui() 1059 void bpf_jit_build_prologue(struct rv_jit_context *ctx); [all …]
|
A D | bpf_jit_comp64.c | 91 static void mark_fp(struct rv_jit_context *ctx) in mark_fp() 249 struct rv_jit_context *ctx) in emit_bcc() 285 struct rv_jit_context *ctx) in emit_branch() 382 struct rv_jit_context *ctx) in init_regs() 435 struct rv_jit_context *ctx) in emit_jump_and_link() 474 struct rv_jit_context *ctx) in emit_atomic() 574 struct rv_jit_context *ctx, in add_exception_handler() 625 struct rv_jit_context ctx; in gen_call_or_nops() 649 struct rv_jit_context ctx; in gen_jump_or_nops() 785 struct rv_jit_context *ctx) in __arch_prepare_bpf_trampoline() [all …]
|
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 …]
|
A D | bpf_jit_core.c | 16 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() 49 struct rv_jit_context *ctx; in bpf_int_jit_compile()
|
Completed in 21 milliseconds