Searched refs:rw_image (Results 1 – 4 of 4) sorted by relevance
| /linux/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 1653 u8 *rw_image, int oldproglen, struct jit_context *ctx, bool jmp_padding) in do_jit() argument 1711 if (rw_image) in do_jit() 1712 memcpy(rw_image + proglen, temp, ilen); in do_jit() 2202 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit() 2330 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit() 2784 memcpy(rw_image + proglen, temp, ilen); in do_jit() 2976 void *image, void *rw_image) in invoke_bpf_prog() argument 3004 if (emit_rsb_call(&prog, bpf_trampoline_enter(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() 3028 if (emit_rsb_call(&prog, p->bpf_func, image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() 3055 if (emit_rsb_call(&prog, bpf_trampoline_exit(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog() [all …]
|
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp.c | 807 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_image, in __arch_prepare_bpf_trampoline() argument 823 u32 *image = (u32 *)rw_image; in __arch_prepare_bpf_trampoline() 1203 void *rw_image, *tmp; in arch_prepare_bpf_trampoline() local 1210 rw_image = kvmalloc(size, GFP_KERNEL); in arch_prepare_bpf_trampoline() 1211 if (!rw_image) in arch_prepare_bpf_trampoline() 1214 ret = __arch_prepare_bpf_trampoline(im, rw_image, rw_image + size, image, m, in arch_prepare_bpf_trampoline() 1220 bpf_jit_dump(1, ret - BPF_INSN_SAFETY * 4, 1, rw_image); in arch_prepare_bpf_trampoline() 1222 tmp = bpf_arch_text_copy(image, rw_image, size); in arch_prepare_bpf_trampoline() 1227 kvfree(rw_image); in arch_prepare_bpf_trampoline()
|
| /linux/kernel/bpf/ |
| H A D | core.c | 1132 u8 **rw_image, in bpf_jit_binary_pack_alloc() argument 1168 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1384 void *rw_image; member
|