Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dmodule-plts.c41 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in get_module_plt() local
44 struct plt_entries *plt = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt()
52 if (pltsec->plt_count > 0) { in get_module_plt()
53 plt += (pltsec->plt_count - 1) / PLT_ENT_COUNT; in get_module_plt()
54 idx = (pltsec->plt_count - 1) % PLT_ENT_COUNT; in get_module_plt()
64 pltsec->plt_count++; in get_module_plt()
65 BUG_ON(pltsec->plt_count * PLT_ENT_SIZE > pltsec->plt->sh_size); in get_module_plt()
/arch/arm64/kernel/
Dmodule-plts.c22 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in module_emit_plt_entry() local
24 struct plt_entry *plt = (struct plt_entry *)pltsec->plt->sh_addr; in module_emit_plt_entry()
25 int i = pltsec->plt_num_entries; in module_emit_plt_entry()
38 pltsec->plt_num_entries++; in module_emit_plt_entry()
39 BUG_ON(pltsec->plt_num_entries > pltsec->plt_max_entries); in module_emit_plt_entry()