Home
last modified time | relevance | path

Searched refs:rw_image (Results 1 – 6 of 6) sorted by relevance

/linux/arch/x86/net/
H A Dbpf_jit_comp.c1731 u8 *rw_image, int oldproglen, struct jit_context *ctx, bool jmp_padding) in do_jit() argument
1853 if (rw_image) in do_jit()
1854 memcpy(rw_image + proglen, temp, ilen); in do_jit()
2370 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit()
2530 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit()
2992 memcpy(rw_image + proglen, temp, ilen); in do_jit()
3223 void *image, void *rw_image) in invoke_bpf_prog() argument
3232 skip = image + (prog - (u8 *)rw_image); in invoke_bpf_prog()
3255 if (emit_rsb_call(&prog, bpf_trampoline_enter(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog()
3279 if (emit_rsb_call(&prog, p->bpf_func, image + (prog - (u8 *)rw_image))) in invoke_bpf_prog()
[all …]
/linux/kernel/bpf/
H A Ddispatcher.c115 tmp = d->num_progs ? d->rw_image + noff : NULL; in bpf_dispatcher_update()
154 d->rw_image = vzalloc(PAGE_SIZE); in bpf_dispatcher_change_prog()
155 if (!d->rw_image) { in bpf_dispatcher_change_prog()
H A Dcore.c1196 u8 **rw_image, in bpf_jit_binary_pack_alloc() argument
1233 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c820 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_image, in __arch_prepare_bpf_trampoline() argument
836 u32 *image = (u32 *)rw_image; in __arch_prepare_bpf_trampoline()
1209 void *rw_image, *tmp; in arch_prepare_bpf_trampoline() local
1216 rw_image = kvmalloc(size, GFP_KERNEL); in arch_prepare_bpf_trampoline()
1217 if (!rw_image) in arch_prepare_bpf_trampoline()
1220 ret = __arch_prepare_bpf_trampoline(im, rw_image, rw_image + size, image, m, in arch_prepare_bpf_trampoline()
1226 bpf_jit_dump(1, ret - BPF_INSN_SAFETY * 4, 1, rw_image); in arch_prepare_bpf_trampoline()
1228 tmp = bpf_arch_text_copy(image, rw_image, size); in arch_prepare_bpf_trampoline()
1233 kvfree(rw_image); in arch_prepare_bpf_trampoline()
/linux/include/linux/
H A Dfilter.h1397 u8 **rw_image,
H A Dbpf.h1470 void *rw_image; member