Searched refs:pltsec (Results 1 – 2 of 2) sorted by relevance
78 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in module_emit_plt_entry() local80 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_plt_entry()81 int i = pltsec->plt_num_entries; in module_emit_plt_entry()98 pltsec->plt_num_entries += i - j; in module_emit_plt_entry()99 if (WARN_ON(pltsec->plt_num_entries > pltsec->plt_max_entries)) in module_emit_plt_entry()109 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in module_emit_veneer_for_adrp() local111 struct plt_entry *plt = (struct plt_entry *)sechdrs[pltsec->plt_shndx].sh_addr; in module_emit_veneer_for_adrp()112 int i = pltsec->plt_num_entries++; in module_emit_veneer_for_adrp()116 if (WARN_ON(pltsec->plt_num_entries > pltsec->plt_max_entries)) in module_emit_veneer_for_adrp()120 i = pltsec->plt_num_entries++; in module_emit_veneer_for_adrp()[all …]
36 static void prealloc_fixed(struct mod_plt_sec *pltsec, struct plt_entries *plt) in prealloc_fixed() argument40 if (!ARRAY_SIZE(fixed_plts) || pltsec->plt_count) in prealloc_fixed()42 pltsec->plt_count = ARRAY_SIZE(fixed_plts); in prealloc_fixed()53 struct mod_plt_sec *pltsec = !in_init(mod, loc) ? &mod->arch.core : in get_module_plt() local59 if (!pltsec->plt_ent) in get_module_plt()60 pltsec->plt_ent = (struct plt_entries *)pltsec->plt->sh_addr; in get_module_plt()61 plt = pltsec->plt_ent; in get_module_plt()63 prealloc_fixed(pltsec, plt); in get_module_plt()75 if (pltsec->plt_count > 0) { in get_module_plt()76 plt += (pltsec->plt_count - 1) / PLT_ENT_COUNT; in get_module_plt()[all …]