• Home
  • Raw
  • Download

Lines Matching defs:ctx

179 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx)  in _emit()
193 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit()
252 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset()
298 const struct jit_ctx *ctx) { in bpf2a32_offset()
312 static inline void emit_mov_i_no8m(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m()
323 static inline void emit_mov_i(const u8 rd, u32 val, struct jit_ctx *ctx) in emit_mov_i()
333 static void emit_bx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_bx_r()
341 static inline void emit_blx_r(u8 tgt_reg, struct jit_ctx *ctx) in emit_blx_r()
351 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset()
363 static inline void emit_udivmod(u8 rd, u8 rm, u8 rn, struct jit_ctx *ctx, u8 op) in emit_udivmod()
436 bool dstk, struct jit_ctx *ctx) in emit_a32_mov_i()
451 struct jit_ctx *ctx) { in emit_a32_mov_i64()
462 struct jit_ctx *ctx) { in emit_a32_add_r()
479 struct jit_ctx *ctx) { in emit_a32_sub_r()
495 const bool hi, const u8 op, struct jit_ctx *ctx){ in emit_alu_r()
541 struct jit_ctx *ctx, const bool is64, in emit_a32_alu_r()
562 bool sstk, struct jit_ctx *ctx, in emit_a32_alu_r64()
574 struct jit_ctx *ctx) { in emit_a32_mov_r()
589 bool sstk, struct jit_ctx *ctx) { in emit_a32_mov_r64()
602 struct jit_ctx *ctx, const u8 op) { in emit_a32_alu_i()
628 struct jit_ctx *ctx){ in emit_a32_neg64()
651 bool sstk, struct jit_ctx *ctx) { in emit_a32_lsh_r64()
686 bool sstk, struct jit_ctx *ctx) { in emit_a32_arsh_r64()
720 bool sstk, struct jit_ctx *ctx) { in emit_a32_rsh_r64()
753 const u32 val, struct jit_ctx *ctx){ in emit_a32_lsh_i64()
786 const u32 val, struct jit_ctx *ctx) { in emit_a32_rsh_i64()
819 const u32 val, struct jit_ctx *ctx){ in emit_a32_arsh_i64()
851 bool sstk, struct jit_ctx *ctx) { in emit_a32_mul_r64()
886 const s32 off, struct jit_ctx *ctx, const u8 sz){ in emit_str_r()
915 s32 off, struct jit_ctx *ctx, const u8 sz){ in emit_ldx_r()
965 const u8 rn, struct jit_ctx *ctx, u8 op) { in emit_ar_r()
995 static int emit_bpf_tail_call(struct jit_ctx *ctx) in emit_bpf_tail_call()
1074 static inline void emit_rev16(const u8 rd, const u8 rn, struct jit_ctx *ctx) in emit_rev16()
1089 static inline void emit_rev32(const u8 rd, const u8 rn, struct jit_ctx *ctx) in emit_rev32()
1113 struct jit_ctx *ctx) in emit_push_r64()
1125 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
1170 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
1193 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) in build_insn()
1763 static int build_body(struct jit_ctx *ctx) in build_body()
1792 static int validate_code(struct jit_ctx *ctx) in validate_code()
1814 struct jit_ctx ctx; in bpf_int_jit_compile() local