Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit_core.c46 unsigned int prog_size = 0, extable_size = 0; in bpf_int_jit_compile() local
68 prog_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile()
106 prog_size = sizeof(*ctx->insns) * ctx->ninsns; in bpf_int_jit_compile()
109 bpf_jit_binary_pack_alloc(prog_size + extable_size, in bpf_int_jit_compile()
140 prog->aux->extable = (void *)ctx->ro_insns + prog_size; in bpf_int_jit_compile()
153 bpf_jit_dump(prog->len, prog_size, pass, ctx->insns); in bpf_int_jit_compile()
166 prog->jited_len = prog_size - cfi_get_offset(); in bpf_int_jit_compile()
/linux/arch/loongarch/net/
H A Dbpf_jit.c2195 int image_size, prog_size, extable_size; in bpf_int_jit_compile() local
2222 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
2249 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
2250 image_size = prog_size + extable_size; in bpf_int_jit_compile()
2269 prog->aux->extable = (void *)ro_image_ptr + prog_size; in bpf_int_jit_compile()
2286 bpf_jit_dump(prog->len, prog_size, 2, ctx.image); in bpf_int_jit_compile()
2312 prog->jited_len = prog_size; in bpf_int_jit_compile()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2158 int image_size, prog_size, extable_size, extable_align, extable_offset; in bpf_int_jit_compile() local
2206 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
2250 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
2252 extable_offset = round_up(prog_size + PLT_TARGET_SIZE, extable_align); in bpf_int_jit_compile()
2307 prog_size = sizeof(u32) * ctx.idx; in bpf_int_jit_compile()
2311 bpf_jit_dump(prog->len, prog_size, 2, ctx.image); in bpf_int_jit_compile()
2338 prog->jited_len = prog_size - cfi_get_offset(); in bpf_int_jit_compile()
/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c827 program->prog_size = get_unaligned_be32(&buf[offset]); in fw_parse_variable_header_kernel()