Home
last modified time | relevance | path

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

/linux/arch/powerpc/net/
A Dbpf_jit.h140 struct codegen_context { struct
162 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() argument
167 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register()
172 static inline void bpf_clear_seen_register(struct codegen_context *ctx, int i) in bpf_clear_seen_register()
177 void bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func);
178 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx,
180 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx);
181 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx);
182 void bpf_jit_realloc_regs(struct codegen_context *ctx);
A Dbpf_jit_comp.c28 struct codegen_context *ctx, u32 *addrs) in bpf_jit_fixup_subprog_calls()
80 struct codegen_context ctx;
96 struct codegen_context cgctx; in bpf_int_jit_compile()
145 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile()
A Dbpf_jit_comp64.c22 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame()
44 static int bpf_jit_stack_local(struct codegen_context *ctx) in bpf_jit_stack_local()
52 static int bpf_jit_stack_tailcallcnt(struct codegen_context *ctx) in bpf_jit_stack_tailcallcnt()
57 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof()
68 void bpf_jit_realloc_regs(struct codegen_context *ctx) in bpf_jit_realloc_regs()
72 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
120 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
139 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
149 static void bpf_jit_emit_func_call_hlp(u32 *image, struct codegen_context *ctx, in bpf_jit_emit_func_call_hlp()
174 void bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel()
[all …]
A Dbpf_jit_comp32.c61 static int bpf_to_ppc(struct codegen_context *ctx, int reg) in bpf_to_ppc()
70 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof()
80 void bpf_jit_realloc_regs(struct codegen_context *ctx) in bpf_jit_realloc_regs()
106 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue()
159 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue()
169 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue()
188 void bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel()
203 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call()
270 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx, in bpf_jit_build_body()

Completed in 7 milliseconds