Lines Matching refs:prog
40 #define EMIT(bytes, len) do { prog = emit_code(prog, bytes, len); } while (0)
199 u8 *prog = temp; in do_jit() local
916 ilen = prog - temp; in do_jit()
931 prog = temp; in do_jit()
936 void bpf_jit_compile(struct bpf_prog *prog) in bpf_jit_compile() argument
940 void bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument
953 if (!prog || !prog->len) in bpf_int_jit_compile()
956 addrs = kmalloc(prog->len * sizeof(*addrs), GFP_KERNEL); in bpf_int_jit_compile()
963 for (proglen = 0, i = 0; i < prog->len; i++) { in bpf_int_jit_compile()
975 proglen = do_jit(prog, addrs, image, oldproglen, &ctx); in bpf_int_jit_compile()
1000 bpf_jit_dump(prog->len, proglen, 0, image); in bpf_int_jit_compile()
1005 prog->bpf_func = (void *)image; in bpf_int_jit_compile()
1006 prog->jited = true; in bpf_int_jit_compile()