Searched refs:codegen_context (Results 1 – 4 of 4) sorted by relevance
| /arch/powerpc/net/ |
| A D | bpf_jit.h | 151 struct codegen_context { struct 177 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() argument 182 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register() 187 static inline void bpf_clear_seen_register(struct codegen_context *ctx, int i) in bpf_clear_seen_register() 192 void bpf_jit_init_reg_mapping(struct codegen_context *ctx); 193 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func); 196 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx); 197 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx); 198 void bpf_jit_build_fentry_stubs(u32 *image, struct codegen_context *ctx); 199 void bpf_jit_realloc_regs(struct codegen_context *ctx); [all …]
|
| A D | bpf_jit_comp.c | 52 void bpf_jit_build_fentry_stubs(u32 *image, struct codegen_context *ctx) in bpf_jit_build_fentry_stubs() 124 struct codegen_context ctx; 140 struct codegen_context cgctx; in bpf_int_jit_compile() 202 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile() 328 struct codegen_context *ctx, int insn_idx, int jmp_off, in bpf_add_extable_entry() 458 static int invoke_bpf_prog(u32 *image, u32 *ro_image, struct codegen_context *ctx, in invoke_bpf_prog() 540 static int invoke_bpf_mod_ret(u32 *image, u32 *ro_image, struct codegen_context *ctx, in invoke_bpf_mod_ret() 577 static void bpf_trampoline_setup_tail_call_cnt(u32 *image, struct codegen_context *ctx, in bpf_trampoline_setup_tail_call_cnt() 626 static void bpf_trampoline_restore_args_regs(u32 *image, struct codegen_context *ctx, in bpf_trampoline_restore_args_regs() 634 static void bpf_trampoline_restore_args_stack(u32 *image, struct codegen_context *ctx, in bpf_trampoline_restore_args_stack() [all …]
|
| A D | bpf_jit_comp64.c | 49 void bpf_jit_init_reg_mapping(struct codegen_context *ctx) in bpf_jit_init_reg_mapping() 75 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame() 97 static int bpf_jit_stack_local(struct codegen_context *ctx) in bpf_jit_stack_local() 105 static int bpf_jit_stack_tailcallcnt(struct codegen_context *ctx) in bpf_jit_stack_tailcallcnt() 110 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof() 121 void bpf_jit_realloc_regs(struct codegen_context *ctx) in bpf_jit_realloc_regs() 125 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue() 179 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue() 198 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() 210 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() [all …]
|
| A D | bpf_jit_comp32.c | 46 void bpf_jit_init_reg_mapping(struct codegen_context *ctx) in bpf_jit_init_reg_mapping() 68 static int bpf_jit_stack_offsetof(struct codegen_context *ctx, int reg) in bpf_jit_stack_offsetof() 82 static inline bool bpf_has_stack_frame(struct codegen_context *ctx) in bpf_has_stack_frame() 96 void bpf_jit_realloc_regs(struct codegen_context *ctx) in bpf_jit_realloc_regs() 126 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_prologue() 176 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue() 197 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() 209 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() 226 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call() 287 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, in bpf_jit_build_body()
|
Completed in 16 milliseconds