Lines Matching defs:image
89 static void bpf_jit_build_prologue(u32 *image, struct codegen_context *ctx)
137 static void bpf_jit_emit_common_epilogue(u32 *image, struct codegen_context *ctx)
156 static void bpf_jit_build_epilogue(u32 *image, struct codegen_context *ctx)
158 bpf_jit_emit_common_epilogue(image, ctx);
166 static void bpf_jit_emit_func_call_hlp(u32 *image, struct codegen_context *ctx,
191 static void bpf_jit_emit_func_call_rel(u32 *image, struct codegen_context *ctx,
228 static int bpf_jit_emit_tail_call(u32 *image, struct codegen_context *ctx, u32 out)
286 bpf_jit_emit_common_epilogue(image, ctx);
317 static int bpf_jit_build_body(struct bpf_prog *fp, u32 *image,
849 bpf_jit_emit_func_call_hlp(image, ctx, func_addr);
851 bpf_jit_emit_func_call_rel(image, ctx, func_addr);
1067 ret = bpf_jit_emit_tail_call(image, ctx, addrs[i + 1]);
1091 static int bpf_jit_fixup_subprog_calls(struct bpf_prog *fp, u32 *image,
1106 * The JITed image length does not change because we already
1120 * end of the JITed image and set it to the offset of
1126 bpf_jit_emit_func_call_rel(image, ctx, func_addr);
1142 u8 *image;
1156 u8 *image = NULL;
1195 image = jit_data->image;
1245 bpf_hdr = bpf_jit_binary_alloc(alloclen, &image, 4,
1253 code_base = (u32 *)(image + FUNCTION_DESCR_SIZE);
1263 * image as well.
1288 * rather than image, since opcodes are in code_base.
1294 ((u64 *)image)[0] = (u64)code_base;
1295 ((u64 *)image)[1] = local_paca->kernel_toc;
1298 fp->bpf_func = (void *)image;
1313 jit_data->image = image;