Home
last modified time | relevance | path

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

/linux-6.15/arch/powerpc/net/
H A Dbpf_jit_comp.c122 u8 *fimage; member
149 u8 *fimage = NULL; in bpf_int_jit_compile() local
185 fimage = jit_data->fimage; in bpf_int_jit_compile()
189 image = (void *)hdr + ((void *)fimage - (void *)fhdr); in bpf_int_jit_compile()
246 fhdr = bpf_jit_binary_pack_alloc(alloclen, &fimage, 4, &hdr, &image, in bpf_int_jit_compile()
254 fp->aux->extable = (void *)fimage + FUNCTION_DESCR_SIZE + proglen + fixup_len; in bpf_int_jit_compile()
258 fcode_base = (u32 *)(fimage + FUNCTION_DESCR_SIZE); in bpf_int_jit_compile()
293 fp->bpf_func = (void *)fimage; in bpf_int_jit_compile()
311 jit_data->fimage = fimage; in bpf_int_jit_compile()
327 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass, in bpf_add_extable_entry() argument
[all …]
H A Dbpf_jit.h179 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func);
180 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx,
188 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass,
H A Dbpf_jit_comp64.c210 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() argument
233 if (!IS_ALIGNED((unsigned long)fimage + CTX_NIA(ctx), 8)) in bpf_jit_emit_func_call_rel()
239 unsigned long pc = (unsigned long)fimage + CTX_NIA(ctx); in bpf_jit_emit_func_call_rel()
389 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, in bpf_jit_build_body() argument
1035 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
1087 ret = bpf_jit_emit_func_call_rel(image, fimage, ctx, func_addr); in bpf_jit_build_body()
H A Dbpf_jit_comp32.c209 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func) in bpf_jit_emit_func_call_rel() argument
211 s32 rel = (s32)func - (s32)(fimage + ctx->idx); in bpf_jit_emit_func_call_rel()
287 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, in bpf_jit_build_body() argument
1090 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, insn_idx, in bpf_jit_build_body()
1146 ret = bpf_jit_emit_func_call_rel(image, fimage, ctx, func_addr); in bpf_jit_build_body()