Searched refs:rw_image (Results 1 – 6 of 6) sorted by relevance
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 1730 u8 *rw_image, int oldproglen, struct jit_context *ctx, bool jmp_padding) in do_jit() argument 1852 if (rw_image) in do_jit() 1853 memcpy(rw_image + proglen, temp, ilen); in do_jit() 2369 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit() 2529 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit() 2991 memcpy(rw_image + proglen, temp, ilen); in do_jit() 3221 void *image, void *rw_image) in invoke_bpf_prog() argument 3249 if (emit_rsb_call(&prog, bpf_trampoline_enter(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() 3273 if (emit_rsb_call(&prog, p->bpf_func, image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() 3300 if (emit_rsb_call(&prog, bpf_trampoline_exit(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() [all …]
|
| /linux/kernel/bpf/ |
| H A D | dispatcher.c | 115 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 D | core.c | 1200 u8 **rw_image, in bpf_jit_binary_pack_alloc() argument 1237 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 812 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_image, in __arch_prepare_bpf_trampoline() argument 828 u32 *image = (u32 *)rw_image; in __arch_prepare_bpf_trampoline() 1208 void *rw_image, *tmp; in arch_prepare_bpf_trampoline() local 1215 rw_image = kvmalloc(size, GFP_KERNEL); in arch_prepare_bpf_trampoline() 1216 if (!rw_image) in arch_prepare_bpf_trampoline() 1219 ret = __arch_prepare_bpf_trampoline(im, rw_image, rw_image + size, image, m, in arch_prepare_bpf_trampoline() 1225 bpf_jit_dump(1, ret - BPF_INSN_SAFETY * 4, 1, rw_image); in arch_prepare_bpf_trampoline() 1227 tmp = bpf_arch_text_copy(image, rw_image, size); in arch_prepare_bpf_trampoline() 1232 kvfree(rw_image); in arch_prepare_bpf_trampoline()
|
| /linux/include/linux/ |
| H A D | filter.h | 1398 u8 **rw_image,
|
| H A D | bpf.h | 1433 void *rw_image; member
|