Home
last modified time | relevance | path

Searched refs:codegen_context (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/net/
H A Dbpf_jit.h160 struct codegen_context { struct
197 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() argument
202 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register()
207 static inline void bpf_clear_seen_register(struct codegen_context *ctx, int i) in bpf_clear_seen_register()
212 void bpf_jit_init_reg_mapping(struct codegen_context *ctx);
213 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func);
214 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx,
216 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx);
217 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx);
218 void bpf_jit_build_fentry_stubs(u32 *image, struct codegen_context *ctx);
[all …]
H A Dbpf_jit_comp.c52 void bpf_jit_build_fentry_stubs(u32 *image, struct codegen_context *ctx) in bpf_jit_build_fentry_stubs()
100 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn()
124 struct codegen_context ctx;
173 struct codegen_context cgctx; in bpf_int_jit_compile()
239 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile()
393 struct codegen_context *ctx, int insn_idx, int jmp_off, in bpf_add_extable_entry()
604 static int invoke_bpf_prog(u32 *image, u32 *ro_image, struct codegen_context *ctx, in invoke_bpf_prog()
686 static int invoke_bpf_mod_ret(u32 *image, u32 *ro_image, struct codegen_context *ctx, in invoke_bpf_mod_ret()
730 static void bpf_trampoline_setup_tail_call_info(u32 *image, struct codegen_context *ctx, in bpf_trampoline_setup_tail_call_info()
758 static void bpf_trampoline_restore_tail_call_cnt(u32 *image, struct codegen_context *ctx, in bpf_trampoline_restore_tail_call_cnt()
[all …]