Lines Matching defs:ctx
116 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit()
130 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit()
135 static u16 saved_regs(struct jit_ctx *ctx) in saved_regs()
159 static inline int mem_words_used(struct jit_ctx *ctx) in mem_words_used()
173 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
213 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
252 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset()
300 static inline void emit_mov_i_no8m(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m()
311 static inline void emit_mov_i(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i()
323 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
335 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16()
342 static inline void emit_swap16(u8 r_dst, u8 r_src, struct jit_ctx *ctx) in emit_swap16()
359 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
367 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16()
388 static inline u32 b_imm(unsigned tgt, struct jit_ctx *ctx) in b_imm()
403 #define OP_IMM3(op, r1, r2, imm_val, ctx) \ argument
414 static inline void emit_err_ret(u8 cond, struct jit_ctx *ctx) in emit_err_ret()
426 static inline void emit_blx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_blx_r()
440 static inline void emit_udiv(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx) in emit_udiv()
472 static inline void update_on_xread(struct jit_ctx *ctx) in update_on_xread()
480 static int build_body(struct jit_ctx *ctx) in build_body()
886 struct jit_ctx ctx; in bpf_jit_compile() local