Home
last modified time | relevance | path

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

/linux/arch/x86/net/
H A Dbpf_jit_comp.c1652 static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, u8 *rw_image, in do_jit() argument
1711 if (rw_image) in do_jit()
1712 memcpy(rw_image + proglen, temp, ilen); in do_jit()
2197 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit()
2325 ex = (void *)rw_image + ((void *)ex - (void *)image); in do_jit()
2782 memcpy(rw_image + proglen, temp, ilen); in do_jit()
2974 void *image, void *rw_image) in invoke_bpf_prog() argument
3002 if (emit_rsb_call(&prog, bpf_trampoline_enter(p), image + (prog - (u8 *)rw_image))) in invoke_bpf_prog()
3026 if (emit_rsb_call(&prog, p->bpf_func, image + (prog - (u8 *)rw_image))) in invoke_bpf_prog()
3053 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 Dbpf_jit_comp.c722 static int __arch_prepare_bpf_trampoline(struct bpf_tramp_image *im, void *rw_image, in __arch_prepare_bpf_trampoline() argument
734 u32 *image = (u32 *)rw_image; in __arch_prepare_bpf_trampoline()
1074 void *rw_image, *tmp; in arch_prepare_bpf_trampoline() local
1081 rw_image = kvmalloc(size, GFP_KERNEL); in arch_prepare_bpf_trampoline()
1082 if (!rw_image) in arch_prepare_bpf_trampoline()
1085 ret = __arch_prepare_bpf_trampoline(im, rw_image, rw_image + size, image, m, in arch_prepare_bpf_trampoline()
1091 bpf_jit_dump(1, ret - BPF_INSN_SAFETY * 4, 1, rw_image); in arch_prepare_bpf_trampoline()
1093 tmp = bpf_arch_text_copy(image, rw_image, size); in arch_prepare_bpf_trampoline()
1098 kvfree(rw_image); in arch_prepare_bpf_trampoline()
/linux/kernel/bpf/
H A Dcore.c1133 u8 **rw_image, in bpf_jit_binary_pack_alloc() argument
1169 *rw_image = &(*rw_header)->image[start]; in bpf_jit_binary_pack_alloc()
/linux/include/linux/
H A Dbpf.h1384 void *rw_image; member