Lines Matching refs:image
338 static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, in do_jit() argument
812 jmp_offset = func - (image + addrs[i]); in do_jit()
829 imm32, func, image); in do_jit()
949 jmp_offset = func - (image + addrs[i]); in do_jit()
952 imm32, func, image); in do_jit()
1028 if (image) { in do_jit()
1033 memcpy(image + proglen, temp, ilen); in do_jit()
1051 u8 *image = NULL; in bpf_int_jit_compile() local
1080 for (pass = 0; pass < 10 || image; pass++) { in bpf_int_jit_compile()
1081 proglen = do_jit(prog, addrs, image, oldproglen, &ctx); in bpf_int_jit_compile()
1083 image = NULL; in bpf_int_jit_compile()
1088 if (image) { in bpf_int_jit_compile()
1097 header = bpf_jit_binary_alloc(proglen, &image, in bpf_int_jit_compile()
1106 bpf_jit_dump(prog->len, proglen, pass + 1, image); in bpf_int_jit_compile()
1108 if (image) { in bpf_int_jit_compile()
1109 bpf_flush_icache(header, image + proglen); in bpf_int_jit_compile()
1111 prog->bpf_func = (void *)image; in bpf_int_jit_compile()