Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/lib/
Dextable.c79 while (m->num_exentries && in trim_init_extable()
82 m->num_exentries--; in trim_init_extable()
85 while (m->num_exentries && in trim_init_extable()
86 within_module_init(ex_to_insn(&m->extable[m->num_exentries - 1]), in trim_init_extable()
88 m->num_exentries--; in trim_init_extable()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dextable.c77 for (i = 0; i < m->num_exentries; i += range ? 2 : 1) { in trim_init_extable()
/kernel/linux/linux-5.10/arch/s390/net/
Dbpf_jit_comp.c661 if (WARN_ON_ONCE(jit->excnt >= fp->aux->num_exentries)) in bpf_jit_probe_mem()
1687 jit->excnt != fp->aux->num_exentries)) in bpf_jit_prog()
1713 fp->aux->num_exentries *= 2; in bpf_jit_alloc()
1717 extable_size = fp->aux->num_exentries * in bpf_jit_alloc()
/kernel/linux/linux-5.10/arch/arm64/net/
Dbpf_jit_comp.c390 WARN_ON_ONCE(ctx->exentry_idx >= ctx->prog->aux->num_exentries)) in add_exception_handler()
974 if (WARN_ON_ONCE(ctx->exentry_idx != ctx->prog->aux->num_exentries)) in validate_code()
1062 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst189 .num_exentries = (u32)0,
/kernel/linux/linux-5.10/include/linux/
Dmodule.h429 unsigned int num_exentries; member
Dbpf.h910 u32 num_exentries; member
/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp.c1197 if (excnt >= bpf_prog->aux->num_exentries) { in do_jit()
1503 if (image && excnt != bpf_prog->aux->num_exentries) { in do_jit()
2108 u32 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/kernel/linux/linux-5.10/kernel/
Dmodule.c3405 sizeof(*mod->extable), &mod->num_exentries); in find_module_sections()
3642 sort_extable(mod->extable, mod->extable + mod->num_exentries); in post_relocation()
4639 if (!mod->num_exentries) in search_module_extables()
4643 mod->num_exentries, in search_module_extables()
/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c739 if (!prog->aux->num_exentries) in search_bpf_extables()
742 e = search_extable(prog->aux->extable, prog->aux->num_exentries, addr); in search_bpf_extables()
Dverifier.c11085 env->prog->aux->num_exentries++; in convert_ctx_accesses()
11178 int err, num_exentries; in jit_subprogs() local
11262 num_exentries = 0; in jit_subprogs()
11267 num_exentries++; in jit_subprogs()
11269 func[i]->aux->num_exentries = num_exentries; in jit_subprogs()