Home
last modified time | relevance | path

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

/linux-4.1.27/arch/mips/net/
Dbpf_jit.c133 struct jit_ctx { struct
154 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx); argument
186 unsigned int src2, struct jit_ctx *ctx) in emit_addu()
191 static inline void emit_nop(struct jit_ctx *ctx) in emit_nop()
197 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm()
218 unsigned int src2, struct jit_ctx *ctx) in emit_or()
224 struct jit_ctx *ctx) in emit_ori()
235 int imm, struct jit_ctx *ctx) in emit_daddiu()
245 u32 imm, struct jit_ctx *ctx) in emit_addiu()
256 unsigned int src2, struct jit_ctx *ctx) in emit_and()
[all …]
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c59 struct jit_ctx { struct
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()
[all …]
/linux-4.1.27/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()
142 static void build_prologue(struct jit_ctx *ctx) in build_prologue()
175 static void build_epilogue(struct jit_ctx *ctx) in build_epilogue()
214 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx) in build_insn()
670 static int build_body(struct jit_ctx *ctx) in build_body()
[all …]