Lines Matching refs:relocs
213 unsigned long relocs = 1; in get_stubs_size() local
233 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
238 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
247 relocs += IS_ENABLED(CONFIG_DYNAMIC_FTRACE) + IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_REGS); in get_stubs_size()
255 relocs += roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub), in get_stubs_size()
263 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
264 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
303 unsigned long relocs = 1; in get_got_size() local
331 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_got_size()
343 relocs += count_pcpu_relocs(sechdrs, in get_got_size()
351 pr_debug("Looks like a total of %lu GOT entries, max\n", relocs); in get_got_size()
352 return relocs * sizeof(struct ppc64_got_entry); in get_got_size()