Lines Matching refs:relocs
212 unsigned long relocs = 0; in get_stubs_size() local
232 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
237 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size()
246 relocs += IS_ENABLED(CONFIG_DYNAMIC_FTRACE) + IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_REGS); in get_stubs_size()
254 relocs += roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub), in get_stubs_size()
262 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size()
263 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size()
302 unsigned long relocs = 1; in get_got_size() local
330 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_got_size()
342 relocs += count_pcpu_relocs(sechdrs, in get_got_size()
350 pr_debug("Looks like a total of %lu GOT entries, max\n", relocs); in get_got_size()
351 return relocs * sizeof(struct ppc64_got_entry); in get_got_size()