Home
last modified time | relevance | path

Searched refs:num_exentries (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/lib/
Dextable.c78 while (m->num_exentries && in trim_init_extable()
81 m->num_exentries--; in trim_init_extable()
84 while (m->num_exentries && in trim_init_extable()
85 within_module_init(ex_to_insn(&m->extable[m->num_exentries - 1]), in trim_init_extable()
87 m->num_exentries--; in trim_init_extable()
/linux-6.6.21/arch/powerpc/net/
Dbpf_jit_comp.c153 fixup_len = fp->aux->num_exentries * BPF_FIXUP_LEN * 4; in bpf_int_jit_compile()
154 extable_len = fp->aux->num_exentries * sizeof(struct exception_table_entry); in bpf_int_jit_compile()
246 WARN_ON_ONCE(ctx->exentry_idx >= fp->aux->num_exentries)) in bpf_add_extable_entry()
252 (fp->aux->num_exentries * BPF_FIXUP_LEN * 4) + in bpf_add_extable_entry()
/linux-6.6.21/arch/loongarch/net/
Dbpf_jit.c417 if (WARN_ON_ONCE(ctx->num_exentries >= ctx->prog->aux->num_exentries)) in add_exception_handler()
420 ex = &ctx->prog->aux->extable[ctx->num_exentries]; in add_exception_handler()
444 ctx->num_exentries++; in add_exception_handler()
1087 if (WARN_ON_ONCE(ctx->num_exentries != ctx->prog->aux->num_exentries)) in validate_code()
1160 extable_size = prog->aux->num_exentries * sizeof(struct exception_table_entry); in bpf_int_jit_compile()
1184 ctx.num_exentries = 0; in bpf_int_jit_compile()
Dbpf_jit.h19 int num_exentries; member
/linux-6.6.21/arch/parisc/net/
Dbpf_jit_core.c110 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/linux-6.6.21/arch/riscv/net/
Dbpf_jit_core.c118 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
Dbpf_jit_comp64.c596 if (WARN_ON_ONCE(ctx->nexentries >= ctx->prog->aux->num_exentries)) in add_exception_handler()
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c714 if (WARN_ON_ONCE(jit->excnt >= fp->aux->num_exentries)) in bpf_jit_probe_mem()
1849 jit->excnt != fp->aux->num_exentries)) in bpf_jit_prog()
1875 fp->aux->num_exentries *= 2; in bpf_jit_alloc()
1879 extable_size = fp->aux->num_exentries * in bpf_jit_alloc()
/linux-6.6.21/Documentation/bpf/
Ddrgn.rst189 .num_exentries = (u32)0,
/linux-6.6.21/include/linux/
Dmodule.h454 unsigned int num_exentries; member
Dbpf.h1471 u32 num_exentries; member
/linux-6.6.21/kernel/module/
Dmain.c2205 sizeof(*mod->extable), &mod->num_exentries); in find_module_sections()
2439 sort_extable(mod->extable, mod->extable + mod->num_exentries); in post_relocation()
3229 if (!mod->num_exentries) in search_module_extables()
3233 mod->num_exentries, in search_module_extables()
/linux-6.6.21/arch/arm64/net/
Dbpf_jit_comp.c723 WARN_ON_ONCE(ctx->exentry_idx >= ctx->prog->aux->num_exentries)) in add_exception_handler()
1501 if (WARN_ON_ONCE(ctx->exentry_idx != ctx->prog->aux->num_exentries)) in validate_ctx()
1593 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c1531 if (excnt >= bpf_prog->aux->num_exentries) { in do_jit()
1948 if (image && excnt != bpf_prog->aux->num_exentries) { in do_jit()
2824 u32 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/linux-6.6.21/kernel/bpf/
Dcore.c762 if (!prog->aux->num_exentries) in search_bpf_extables()
765 e = search_extable(prog->aux->extable, prog->aux->num_exentries, addr); in search_bpf_extables()
Dverifier.c18343 env->prog->aux->num_exentries++; in convert_ctx_accesses()
18438 int err, num_exentries; in jit_subprogs() local
18531 num_exentries = 0; in jit_subprogs()
18537 num_exentries++; in jit_subprogs()
18539 func[i]->aux->num_exentries = num_exentries; in jit_subprogs()
18624 prog->aux->num_exentries = func[0]->aux->num_exentries; in jit_subprogs()