Home
last modified time | relevance | path

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

/linux/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()
251 fhdr = bpf_jit_binary_pack_alloc(alloclen, &fimage, 4, &hdr, &image, in bpf_int_jit_compile()
259 fp->aux->extable = (void *)fimage + FUNCTION_DESCR_SIZE + proglen + fixup_len; in bpf_int_jit_compile()
263 fcode_base = (u32 *)(fimage + FUNCTION_DESCR_SIZE); in bpf_int_jit_compile()
298 fp->bpf_func = (void *)fimage; in bpf_int_jit_compile()
316 jit_data->fimage = fimage; in bpf_int_jit_compile()
332 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.h207 int bpf_jit_emit_func_call_rel(u32 *image, u32 *fimage, struct codegen_context *ctx, u64 func);
208 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx,
216 int bpf_add_extable_entry(struct bpf_prog *fp, u32 *image, u32 *fimage, int pass,
H A Dbpf_jit_comp64.c404 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
428 if (!fimage) { in bpf_jit_emit_func_call_rel()
434 if (!IS_ALIGNED((unsigned long)fimage + CTX_NIA(ctx), 8)) in bpf_jit_emit_func_call_rel()
440 unsigned long pc = (unsigned long)fimage + CTX_NIA(ctx); in bpf_jit_emit_func_call_rel()
906 int bpf_jit_build_body(struct bpf_prog *fp, u32 *image, u32 *fimage, struct codegen_context *ctx, in bpf_jit_build_body() argument
1424 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
1450 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
1474 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
1605 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
1643 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, in bpf_jit_build_body()
[all …]
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
1089 ret = bpf_add_extable_entry(fp, image, fimage, pass, ctx, insn_idx, in bpf_jit_build_body()
1140 ret = bpf_jit_emit_func_call_rel(image, fimage, ctx, func_addr); in bpf_jit_build_body()