Lines Matching refs:image
89 int __weak arch_prepare_bpf_dispatcher(void *image, void *buf, s64 *funcs, int num_funcs) in arch_prepare_bpf_dispatcher() argument
94 static int bpf_dispatcher_prepare(struct bpf_dispatcher *d, void *image, void *buf) in bpf_dispatcher_prepare() argument
103 return arch_prepare_bpf_dispatcher(image, buf, &ips[0], d->num_progs); in bpf_dispatcher_prepare()
114 new = d->num_progs ? d->image + noff : NULL; in bpf_dispatcher_update()
142 if (!d->image) { in bpf_dispatcher_change_prog()
143 d->image = bpf_prog_pack_alloc(PAGE_SIZE, bpf_jit_fill_hole_with_zero); in bpf_dispatcher_change_prog()
144 if (!d->image) in bpf_dispatcher_change_prog()
150 bpf_arch_text_copy(d->image, &size, sizeof(size)); in bpf_dispatcher_change_prog()
151 bpf_prog_pack_free((struct bpf_binary_header *)d->image); in bpf_dispatcher_change_prog()
152 d->image = NULL; in bpf_dispatcher_change_prog()
155 bpf_image_ksym_add(d->image, &d->ksym); in bpf_dispatcher_change_prog()