Lines Matching defs:ctx

57 static u8 bpf_to_rv_reg(int bpf_reg, struct rv_jit_context *ctx)  in bpf_to_rv_reg()
73 static bool seen_reg(int reg, struct rv_jit_context *ctx) in seen_reg()
88 static void mark_fp(struct rv_jit_context *ctx) in mark_fp()
93 static void mark_call(struct rv_jit_context *ctx) in mark_call()
98 static bool seen_call(struct rv_jit_context *ctx) in seen_call()
103 static void mark_tail_call(struct rv_jit_context *ctx) in mark_tail_call()
108 static bool seen_tail_call(struct rv_jit_context *ctx) in seen_tail_call()
113 static u8 rv_tail_call_reg(struct rv_jit_context *ctx) in rv_tail_call_reg()
139 static void emit_imm(u8 rd, s64 val, struct rv_jit_context *ctx) in emit_imm()
182 static void __build_epilogue(bool is_tail_call, struct rv_jit_context *ctx) in __build_epilogue()
227 struct rv_jit_context *ctx) in emit_bcc()
263 struct rv_jit_context *ctx) in emit_branch()
301 static void emit_zext_32(u8 reg, struct rv_jit_context *ctx) in emit_zext_32()
307 static int emit_bpf_tail_call(int insn, struct rv_jit_context *ctx) in emit_bpf_tail_call()
361 struct rv_jit_context *ctx) in init_regs()
381 static void emit_zext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_zext_32_rd_rs()
391 static void emit_sext_32_rd_rs(u8 *rd, u8 *rs, struct rv_jit_context *ctx) in emit_sext_32_rd_rs()
399 static void emit_zext_32_rd_t1(u8 *rd, struct rv_jit_context *ctx) in emit_zext_32_rd_t1()
407 static void emit_sext_32_rd(u8 *rd, struct rv_jit_context *ctx) in emit_sext_32_rd()
414 struct rv_jit_context *ctx) in emit_jump_and_link()
439 static int emit_call(bool fixed, u64 addr, struct rv_jit_context *ctx) in emit_call()
478 struct rv_jit_context *ctx, in add_exception_handler()
524 int bpf_jit_emit_insn(const struct bpf_insn *insn, struct rv_jit_context *ctx, in bpf_jit_emit_insn()
1184 void bpf_jit_build_prologue(struct rv_jit_context *ctx) in bpf_jit_build_prologue()
1266 void bpf_jit_build_epilogue(struct rv_jit_context *ctx) in bpf_jit_build_epilogue()