Lines Matching refs:proglen
1667 int proglen = 0; in do_jit() local
2471 ctx->cleanup_addr = proglen; in do_jit()
2502 if (unlikely(proglen + ilen > oldproglen || in do_jit()
2503 proglen + ilen != addrs[i])) { in do_jit()
2507 memcpy(image + proglen, temp, ilen); in do_jit()
2509 proglen += ilen; in do_jit()
2510 addrs[i] = proglen; in do_jit()
2513 return proglen; in do_jit()
2525 int proglen, oldproglen = 0; in bpf_int_jit_compile() local
2558 for (proglen = 0, i = 0; i < prog->len; i++) { in bpf_int_jit_compile()
2559 proglen += 64; in bpf_int_jit_compile()
2560 addrs[i] = proglen; in bpf_int_jit_compile()
2562 ctx.cleanup_addr = proglen; in bpf_int_jit_compile()
2571 proglen = do_jit(prog, addrs, image, oldproglen, &ctx); in bpf_int_jit_compile()
2572 if (proglen <= 0) { in bpf_int_jit_compile()
2581 if (proglen != oldproglen) { in bpf_int_jit_compile()
2583 proglen, oldproglen); in bpf_int_jit_compile()
2588 if (proglen == oldproglen) { in bpf_int_jit_compile()
2589 header = bpf_jit_binary_alloc(proglen, &image, in bpf_int_jit_compile()
2596 oldproglen = proglen; in bpf_int_jit_compile()
2601 bpf_jit_dump(prog->len, proglen, pass + 1, image); in bpf_int_jit_compile()
2607 prog->jited_len = proglen; in bpf_int_jit_compile()