Home
last modified time | relevance | path

Searched refs:jit_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/mips/net/
Dbpf_jit.c98 struct jit_ctx { struct
119 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx); argument
151 unsigned int src2, struct jit_ctx *ctx) in emit_addu()
156 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop()
162 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
183 unsigned int src2, struct jit_ctx *ctx) in emit_or()
189 struct jit_ctx *ctx) in emit_ori()
200 int imm, struct jit_ctx *ctx) in emit_daddiu()
210 u32 imm, struct jit_ctx *ctx) in emit_addiu()
221 unsigned int src2, struct jit_ctx *ctx) in emit_and()
[all …]
/linux-4.4.14/arch/arm/net/
Dbpf_jit_32.c59 struct jit_ctx { struct
141 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit()
155 static inline void emit(u32 inst, struct jit_ctx *ctx) in emit()
160 static u16 saved_regs(struct jit_ctx *ctx) in saved_regs()
184 static inline int mem_words_used(struct jit_ctx *ctx) in mem_words_used()
198 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
238 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
277 static u16 imm_offset(u32 k, struct jit_ctx *ctx) in imm_offset()
325 static inline void emit_mov_i_no8m(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i_no8m()
336 static inline void emit_mov_i(int rd, u32 val, struct jit_ctx *ctx) in emit_mov_i()
[all …]
/linux-4.4.14/arch/arm64/net/
Dbpf_jit_comp.c59 struct jit_ctx { struct
68 static inline void emit(const u32 insn, struct jit_ctx *ctx) in emit() argument
77 struct jit_ctx *ctx) in emit_a64_mov_i64()
94 const s32 val, struct jit_ctx *ctx) in emit_a64_mov_i()
114 const struct jit_ctx *ctx) in bpf2a64_offset()
131 static inline int epilogue_offset(const struct jit_ctx *ctx) in epilogue_offset()
148 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
209 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
247 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) in build_insn()
721 static int build_body(struct jit_ctx *ctx) in build_body()
[all …]