Lines Matching refs:image
189 static int do_jit(struct bpf_prog *bpf_prog, int *addrs, u8 *image, in do_jit() argument
721 jmp_offset = func - (image + addrs[i]); in do_jit()
732 imm32, func, image); in do_jit()
843 jmp_offset = func - (image + addrs[i]); in do_jit()
846 imm32, func, image); in do_jit()
922 if (image) { in do_jit()
927 memcpy(image + proglen, temp, ilen); in do_jit()
945 u8 *image = NULL; in bpf_int_jit_compile() local
974 for (pass = 0; pass < 10 || image; pass++) { in bpf_int_jit_compile()
975 proglen = do_jit(prog, addrs, image, oldproglen, &ctx); in bpf_int_jit_compile()
977 image = NULL; in bpf_int_jit_compile()
982 if (image) { in bpf_int_jit_compile()
991 header = bpf_jit_binary_alloc(proglen, &image, in bpf_int_jit_compile()
1000 bpf_jit_dump(prog->len, proglen, 0, image); in bpf_int_jit_compile()
1002 if (image) { in bpf_int_jit_compile()
1003 bpf_flush_icache(header, image + proglen); in bpf_int_jit_compile()
1005 prog->bpf_func = (void *)image; in bpf_int_jit_compile()