Lines Matching defs:jit_ctx

89  * struct jit_ctx - JIT context
97 struct jit_ctx {
118 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx);
150 unsigned int src2, struct jit_ctx *ctx)
155 static inline void emit_nop(struct jit_ctx *ctx)
161 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx)
182 unsigned int src2, struct jit_ctx *ctx)
188 struct jit_ctx *ctx)
199 int imm, struct jit_ctx *ctx)
209 u32 imm, struct jit_ctx *ctx)
220 unsigned int src2, struct jit_ctx *ctx)
226 u32 imm, struct jit_ctx *ctx)
238 unsigned int src2, struct jit_ctx *ctx)
243 static inline void emit_xori(ptr dst, ptr src, u32 imm, struct jit_ctx *ctx)
254 static inline void emit_stack_offset(int offset, struct jit_ctx *ctx)
260 unsigned int src2, struct jit_ctx *ctx)
265 static inline void emit_neg(unsigned int reg, struct jit_ctx *ctx)
271 unsigned int sa, struct jit_ctx *ctx)
277 unsigned int sa, struct jit_ctx *ctx)
288 unsigned int sa, struct jit_ctx *ctx)
294 unsigned int sa, struct jit_ctx *ctx)
305 unsigned int src2, struct jit_ctx *ctx)
311 unsigned int src2, struct jit_ctx *ctx)
317 unsigned int imm, struct jit_ctx *ctx)
332 struct jit_ctx *ctx)
338 struct jit_ctx *ctx)
345 struct jit_ctx *ctx)
351 unsigned int offset, struct jit_ctx *ctx)
357 unsigned int offset, struct jit_ctx *ctx)
363 unsigned int offset, struct jit_ctx *ctx)
369 unsigned int offset, struct jit_ctx *ctx)
375 unsigned int src2, struct jit_ctx *ctx)
381 struct jit_ctx *ctx)
393 struct jit_ctx *ctx)
405 unsigned int sa, struct jit_ctx *ctx)
411 unsigned int sa, struct jit_ctx *ctx)
417 struct jit_ctx *ctx)
424 int imm, struct jit_ctx *ctx)
432 struct jit_ctx *ctx)
447 static inline void emit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx)
453 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx)
459 static inline u32 b_imm(unsigned int tgt, struct jit_ctx *ctx)
482 unsigned int imm, struct jit_ctx *ctx)
505 static inline void emit_b(unsigned int imm, struct jit_ctx *ctx)
511 struct jit_ctx *ctx)
516 static inline void emit_jr(unsigned int reg, struct jit_ctx *ctx)
529 static void save_bpf_jit_regs(struct jit_ctx *ctx, unsigned offset)
564 static void restore_bpf_jit_regs(struct jit_ctx *ctx,
592 static unsigned int get_stack_depth(struct jit_ctx *ctx)
609 static void build_prologue(struct jit_ctx *ctx)
647 static void build_epilogue(struct jit_ctx *ctx)
670 static int build_body(struct jit_ctx *ctx)
1238 struct jit_ctx ctx;