Home
last modified time | relevance | path

Searched refs:jit_context (Results 1 – 6 of 6) sorted by relevance

/linux/arch/mips/net/
H A Dbpf_jit_comp.h75 struct jit_context { struct
127 static inline void access_reg(struct jit_context *ctx, u8 reg) in access_reg()
136 static inline void clobber_reg(struct jit_context *ctx, u8 reg) in clobber_reg()
145 int push_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth);
151 int pop_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth);
154 int get_target(struct jit_context *ctx, u32 loc);
157 int get_offset(const struct jit_context *ctx, int off);
160 void emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm);
163 void emit_mov_r(struct jit_context *ctx, u8 dst, u8 src);
172 void emit_alu_i(struct jit_context *ctx, u8 dst, s32 imm, u8 op);
[all …]
H A Dbpf_jit_comp.c127 int push_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) in push_regs()
150 int pop_regs(struct jit_context *ctx, u32 mask, u32 excl, int depth) in pop_regs()
169 int get_target(struct jit_context *ctx, u32 loc) in get_target()
185 int get_offset(const struct jit_context *ctx, int off) in get_offset()
192 void emit_mov_i(struct jit_context *ctx, u8 dst, s32 imm) in emit_mov_i()
204 void emit_mov_r(struct jit_context *ctx, u8 dst, u8 src) in emit_mov_r()
298 void emit_alu_i(struct jit_context *ctx, u8 dst, s32 imm, u8 op) in emit_alu_i()
342 void emit_alu_r(struct jit_context *ctx, u8 dst, u8 src, u8 op) in emit_alu_r()
409 void emit_atomic_r(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 code) in emit_atomic_r()
445 void emit_cmpxchg_r(struct jit_context *ctx, u8 dst, u8 src, u8 res, s16 off) in emit_cmpxchg_r()
[all …]
H A Dbpf_jit_comp32.c167 static void clobber_reg64(struct jit_context *ctx, const u8 reg[]) in clobber_reg64()
174 static void emit_mov_se_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mov_se_i64()
185 static void emit_zext_ver(struct jit_context *ctx, const u8 dst[]) in emit_zext_ver()
194 static void emit_load_delay(struct jit_context *ctx) in emit_load_delay()
201 static void emit_alu_i64(struct jit_context *ctx, in emit_alu_i64()
267 static void emit_alu_r64(struct jit_context *ctx, in emit_alu_r64()
310 static void emit_neg_i64(struct jit_context *ctx, const u8 dst[]) in emit_neg_i64()
321 static void emit_shift_i64(struct jit_context *ctx, in emit_shift_i64()
366 static void emit_shift_r64(struct jit_context *ctx, in emit_shift_r64()
423 static void emit_mul_i64(struct jit_context *ctx, const u8 dst[], s32 imm) in emit_mul_i64()
[all …]
H A Dbpf_jit_comp64.c98 static void emit_sext(struct jit_context *ctx, u8 dst, u8 src) in emit_sext()
105 static void emit_zext(struct jit_context *ctx, u8 dst) in emit_zext()
117 static void emit_zext_ver(struct jit_context *ctx, u8 dst) in emit_zext_ver()
124 static void emit_mov_i64(struct jit_context *ctx, u8 dst, u64 imm64) in emit_mov_i64()
158 static void emit_alu_i64(struct jit_context *ctx, u8 dst, s32 imm, u8 op) in emit_alu_i64()
201 static void emit_alu_r64(struct jit_context *ctx, u8 dst, u8 src, u8 op) in emit_alu_r64()
262 static void emit_swap_r64(struct jit_context *ctx, u8 dst, u8 mask, u32 bits) in emit_swap_r64()
274 static void emit_bswap_r64(struct jit_context *ctx, u8 dst, u32 width) in emit_bswap_r64()
316 static void emit_trunc_r64(struct jit_context *ctx, u8 dst, u32 width) in emit_trunc_r64()
334 static void emit_ldx(struct jit_context *ctx, u8 dst, u8 src, s16 off, u8 size) in emit_ldx()
[all …]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c307 struct jit_context { struct
708 struct jit_context *ctx) in emit_bpf_tail_call_indirect()
797 struct jit_context *ctx) in emit_bpf_tail_call_direct()
1454 int oldproglen, struct jit_context *ctx, bool jmp_padding) in do_jit()
3413 struct jit_context ctx;
3428 struct jit_context ctx = {}; in bpf_int_jit_compile()
H A Dbpf_jit_comp32.c1186 struct jit_context { struct
1660 int oldproglen, struct jit_context *ctx) in do_jit()
2526 struct jit_context ctx = {}; in bpf_int_jit_compile()