Lines Matching refs:ro_image
88 __le32 *ro_image; member
218 if (!ctx->ro_image || !target) in should_emit_indirect_call()
221 offset = target - (long)&ctx->ro_image[ctx->idx]; in should_emit_indirect_call()
230 pc = (unsigned long)&ctx->ro_image[ctx->idx]; in emit_direct_call()
1110 pc = (unsigned long)&ctx->ro_image[ctx->idx - 1]; in add_exception_handler()
1143 ex = (void *)ctx->image + ((void *)ex - (void *)ctx->ro_image); in add_exception_handler()
1950 u8 *ro_image; member
2015 ro_image_ptr = jit_data->ro_image; in bpf_int_jit_compile()
2085 ctx.ro_image = (__le32 *)ro_image_ptr; in bpf_int_jit_compile()
2158 bpf_flush_icache(ro_header, ctx.ro_image + ctx.idx); in bpf_int_jit_compile()
2161 jit_data->ro_image = ro_image_ptr; in bpf_int_jit_compile()
2166 prog->bpf_func = (void *)ctx.ro_image + cfi_get_offset(); in bpf_int_jit_compile()
2626 im->ip_after_call = ctx->ro_image + ctx->idx; in prepare_trampoline()
2641 im->ip_epilogue = ctx->ro_image + ctx->idx; in prepare_trampoline()
2725 int arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *ro_image, in arch_prepare_bpf_trampoline() argument
2730 u32 size = ro_image_end - ro_image; in arch_prepare_bpf_trampoline()
2744 .ro_image = ro_image, in arch_prepare_bpf_trampoline()
2750 jit_fill_hole(image, (unsigned int)(ro_image_end - ro_image)); in arch_prepare_bpf_trampoline()
2764 tmp = bpf_arch_text_copy(ro_image, image, size); in arch_prepare_bpf_trampoline()
2770 bpf_flush_icache(ro_image, ro_image + size); in arch_prepare_bpf_trampoline()