Searched refs:nrels (Results 1 – 3 of 3) sorted by relevance
334 unsigned long nrels = sechdrs[i].sh_size / sizeof(*rels); in module_frob_arch_sections() local349 gots += count_gots(rels, nrels); in module_frob_arch_sections()350 fdescs += count_fdescs(rels, nrels); in module_frob_arch_sections()355 count = count_stubs(rels, nrels); in module_frob_arch_sections()
327 int i, nrels; in parse_relo_and_apply() local329 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()331 for (i = 0; i < nrels; i++) { in parse_relo_and_apply()
901 int i, nrels; in bpf_program__collect_reloc() local905 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_program__collect_reloc()907 prog->reloc_desc = malloc(sizeof(*prog->reloc_desc) * nrels); in bpf_program__collect_reloc()912 prog->nr_reloc = nrels; in bpf_program__collect_reloc()914 for (i = 0; i < nrels; i++) { in bpf_program__collect_reloc()