Searched refs:codegen_context (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/arch/powerpc/net/ |
D | bpf_jit.h | 124 struct codegen_context { struct 156 static inline bool bpf_is_seen_register(struct codegen_context *ctx, int i) in bpf_is_seen_register() argument 161 static inline void bpf_set_seen_register(struct codegen_context *ctx, int i) in bpf_set_seen_register() 166 static inline void bpf_clear_seen_register(struct codegen_context *ctx, int i) in bpf_clear_seen_register() 171 void bpf_jit_init_reg_mapping(struct codegen_context *ctx); 172 int bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func); 173 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx, 175 void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx); 176 void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx); 177 void bpf_jit_realloc_regs(struct codegen_context *ctx); [all …]
|
D | bpf_jit_comp.c | 26 int bpf_jit_emit_exit_insn(u32 *image, struct codegen_context *ctx, int tmp_reg, long exit_addr) in bpf_jit_emit_exit_insn() 47 struct codegen_context ctx; 63 struct codegen_context cgctx; in bpf_int_jit_compile() 115 memset(&cgctx, 0, sizeof(struct codegen_context)); in bpf_int_jit_compile() 233 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, int pass, struct codegen_context *ctx, 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() 205 static int bpf_jit_emit_func_call_hlp(u32 *image, 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() 203 int bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() 220 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out) in bpf_jit_emit_tail_call() 281 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, struct codegen_context *ctx, in bpf_jit_build_body()
|