Searched refs:prog_size (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.1/arch/riscv/net/ |
| D | bpf_jit_core.c | 44 unsigned int prog_size = 0, extable_size = 0; in bpf_int_jit_compile() local 76 prog_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile() 109 prog_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile() 112 bpf_jit_binary_alloc(prog_size + extable_size, in bpf_int_jit_compile() 139 prog->aux->extable = (void *)ctx->insns + prog_size; in bpf_int_jit_compile() 155 bpf_jit_dump(prog->len, prog_size, pass, ctx->insns); in bpf_int_jit_compile() 159 prog->jited_len = prog_size; in bpf_int_jit_compile()
|
| /Linux-v6.1/arch/arm64/net/ |
| D | bpf_jit_comp.c | 1455 int image_size, prog_size, extable_size, extable_align, extable_offset; in bpf_int_jit_compile() local 1493 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile() 1532 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile() 1534 extable_offset = round_up(prog_size + PLT_TARGET_SIZE, extable_align); in bpf_int_jit_compile() 1572 bpf_jit_dump(prog->len, prog_size, 2, ctx.image); in bpf_int_jit_compile() 1594 prog->jited_len = prog_size; in bpf_int_jit_compile()
|