Lines Matching defs:ctx

111 static void emit_imm(const s8 rd, s32 imm, struct rv_jit_context *ctx)  in emit_imm()
124 static void emit_imm32(const s8 *rd, s32 imm, struct rv_jit_context *ctx) in emit_imm32()
137 struct rv_jit_context *ctx) in emit_imm64()
143 static void __build_epilogue(bool is_tail_call, struct rv_jit_context *ctx) in __build_epilogue()
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()
565 struct rv_jit_context *ctx, const u8 op) in emit_branch_r64()
652 static int emit_bcc(u8 op, u8 rd, u8 rs, int rvoff, struct rv_jit_context *ctx) in emit_bcc()
723 struct rv_jit_context *ctx, const u8 op) in emit_branch_r32()
742 static void emit_call(bool fixed, u64 addr, struct rv_jit_context *ctx) in emit_call()
774 static int emit_bpf_tail_call(int insn, struct rv_jit_context *ctx) in emit_bpf_tail_call()
837 struct rv_jit_context *ctx, const u8 size) in emit_load_r64()
874 struct rv_jit_context *ctx, const u8 size, in emit_store_r64()
915 static void emit_rev16(const s8 rd, struct rv_jit_context *ctx) in emit_rev16()
924 static void emit_rev32(const s8 rd, struct rv_jit_context *ctx) in emit_rev32()
944 static void emit_zext64(const s8 *dst, struct rv_jit_context *ctx) in emit_zext64()
954 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx, in bpf_jit_emit_insn()
1304 void bpf_jit_build_prologue(struct rv_jit_context *ctx) in bpf_jit_build_prologue()
1354 void bpf_jit_build_epilogue(struct rv_jit_context *ctx) in bpf_jit_build_epilogue()