Searched refs:codegen_context (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/arch/powerpc/net/ |
D | bpf_jit.h | 121 struct codegen_context { struct 147 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() argument 152 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register() 157 static inline void bpf_clear_seen_register(struct codegen_context *ctx, int i) in bpf_clear_seen_register() 162 void bpf_jit_init_reg_mapping(struct codegen_context *ctx); 163 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func); 164 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, 166 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx); 167 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx); 168 void bpf_jit_realloc_regs(struct codegen_context *ctx); [all …]
|
D | bpf_jit_comp.c | 30 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn() 54 struct codegen_context ctx; 70 struct codegen_context cgctx; in bpf_int_jit_compile() 132 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile() 258 struct codegen_context *ctx, int insn_idx, int jmp_off, in bpf_add_extable_entry()
|
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() 176 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue() 195 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() 206 bpf_jit_emit_func_call_hlp(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_hlp() [all …]
|
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() 173 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_emit_common_epilogue() 194 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx) in bpf_jit_build_epilogue() 204 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() 221 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call() 282 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, in bpf_jit_build_body()
|