Home
last modified time | relevance | path

Searched refs:prog_size (Results 1 – 2 of 2) sorted by relevance

/linux/arch/riscv/net/
A Dbpf_jit_core.c44 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()
108 prog_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile()
111 bpf_jit_binary_alloc(prog_size + extable_size, in bpf_int_jit_compile()
138 prog->aux->extable = (void *)ctx->insns + prog_size; in bpf_int_jit_compile()
154 bpf_jit_dump(prog->len, prog_size, pass, ctx->insns); in bpf_int_jit_compile()
158 prog->jited_len = prog_size; in bpf_int_jit_compile()
/linux/arch/arm64/net/
A Dbpf_jit_comp.c998 int image_size, prog_size, extable_size; in bpf_int_jit_compile() local
1036 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
1068 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
1069 image_size = prog_size + extable_size; in bpf_int_jit_compile()
1081 prog->aux->extable = (void *)image_ptr + prog_size; in bpf_int_jit_compile()
1105 bpf_jit_dump(prog->len, prog_size, 2, ctx.image); in bpf_int_jit_compile()
1126 prog->jited_len = prog_size; in bpf_int_jit_compile()

Completed in 13 milliseconds