Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/arch/powerpc/net/
Dbpf_jit_comp.c219 fixup_len = fp->aux->num_exentries * BPF_FIXUP_LEN * 4; in bpf_int_jit_compile()
220 extable_len = fp->aux->num_exentries * sizeof(struct exception_table_entry); in bpf_int_jit_compile()
329 WARN_ON_ONCE(ctx->exentry_idx >= fp->aux->num_exentries)) in bpf_add_extable_entry()
335 (fp->aux->num_exentries * BPF_FIXUP_LEN * 4) + in bpf_add_extable_entry()
/linux-6.1.9/arch/riscv/net/
Dbpf_jit_core.c107 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
Dbpf_jit_comp64.c588 if (WARN_ON_ONCE(ctx->nexentries >= ctx->prog->aux->num_exentries)) in add_exception_handler()
/linux-6.1.9/arch/s390/net/
Dbpf_jit_comp.c638 if (WARN_ON_ONCE(jit->excnt >= fp->aux->num_exentries)) in bpf_jit_probe_mem()
1716 jit->excnt != fp->aux->num_exentries)) in bpf_jit_prog()
1742 fp->aux->num_exentries *= 2; in bpf_jit_alloc()
1746 extable_size = fp->aux->num_exentries * in bpf_jit_alloc()
/linux-6.1.9/Documentation/bpf/
Ddrgn.rst189 .num_exentries = (u32)0,
/linux-6.1.9/include/linux/
Dmodule.h415 unsigned int num_exentries; member
Dbpf.h1207 u32 num_exentries; member
/linux-6.1.9/kernel/module/
Dmain.c2105 sizeof(*mod->extable), &mod->num_exentries); in find_module_sections()
2362 sort_extable(mod->extable, mod->extable + mod->num_exentries); in post_relocation()
3011 if (!mod->num_exentries) in search_module_extables()
3015 mod->num_exentries, in search_module_extables()
/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c1342 if (excnt >= bpf_prog->aux->num_exentries) { in do_jit()
1746 if (image && excnt != bpf_prog->aux->num_exentries) { in do_jit()
2463 u32 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/linux-6.1.9/arch/arm64/net/
Dbpf_jit_comp.c716 WARN_ON_ONCE(ctx->exentry_idx >= ctx->prog->aux->num_exentries)) in add_exception_handler()
1436 if (WARN_ON_ONCE(ctx->exentry_idx != ctx->prog->aux->num_exentries)) in validate_ctx()
1528 extable_size = prog->aux->num_exentries * in bpf_int_jit_compile()
/linux-6.1.9/kernel/bpf/
Dcore.c738 if (!prog->aux->num_exentries) in search_bpf_extables()
741 e = search_extable(prog->aux->extable, prog->aux->num_exentries, addr); in search_bpf_extables()
Dverifier.c13547 env->prog->aux->num_exentries++; in convert_ctx_accesses()
13637 int err, num_exentries; in jit_subprogs() local
13730 num_exentries = 0; in jit_subprogs()
13735 num_exentries++; in jit_subprogs()
13737 func[i]->aux->num_exentries = num_exentries; in jit_subprogs()