Lines Matching refs:image
31 void *image; in bpf_jit_alloc_exec_page() local
33 image = bpf_jit_alloc_exec(PAGE_SIZE); in bpf_jit_alloc_exec_page()
34 if (!image) in bpf_jit_alloc_exec_page()
37 set_vm_flush_reset_perms(image); in bpf_jit_alloc_exec_page()
41 set_memory_x((long)image, 1); in bpf_jit_alloc_exec_page()
42 return image; in bpf_jit_alloc_exec_page()
206 bpf_jit_free_exec(im->image); in __bpf_tramp_image_put_deferred()
297 void *image; in bpf_tramp_image_alloc() local
309 im->image = image = bpf_jit_alloc_exec_page(); in bpf_tramp_image_alloc()
310 if (!image) in bpf_tramp_image_alloc()
320 bpf_image_ksym_add(image, ksym); in bpf_tramp_image_alloc()
324 bpf_jit_free_exec(im->image); in bpf_tramp_image_alloc()
346 err = unregister_fentry(tr, tr->cur_image->image); in bpf_trampoline_update()
366 err = arch_prepare_bpf_trampoline(im, im->image, im->image + PAGE_SIZE, in bpf_trampoline_update()
376 err = modify_fentry(tr, tr->cur_image->image, im->image); in bpf_trampoline_update()
379 err = register_fentry(tr, im->image); in bpf_trampoline_update()
645 arch_prepare_bpf_trampoline(struct bpf_tramp_image *tr, void *image, void *image_end, in arch_prepare_bpf_trampoline() argument