Home
last modified time | relevance | path

Searched refs:nrels (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/samples/bpf/
Dbpf_load.c196 int i, nrels; in parse_relo_and_apply() local
198 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
200 for (i = 0; i < nrels; i++) { in parse_relo_and_apply()
/linux-4.4.14/tools/lib/bpf/
Dlibbpf.c612 int i, nrels; in bpf_program__collect_reloc() local
616 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_program__collect_reloc()
618 prog->reloc_desc = malloc(sizeof(*prog->reloc_desc) * nrels); in bpf_program__collect_reloc()
623 prog->nr_reloc = nrels; in bpf_program__collect_reloc()
625 for (i = 0; i < nrels; i++) { in bpf_program__collect_reloc()
/linux-4.4.14/arch/parisc/kernel/
Dmodule.c333 unsigned long nrels = sechdrs[i].sh_size / sizeof(*rels); in module_frob_arch_sections() local
348 gots += count_gots(rels, nrels); in module_frob_arch_sections()
349 fdescs += count_fdescs(rels, nrels); in module_frob_arch_sections()
354 count = count_stubs(rels, nrels); in module_frob_arch_sections()