Home
last modified time | relevance | path

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

/Linux-v4.19/arch/parisc/kernel/
Dmodule.c334 unsigned long nrels = sechdrs[i].sh_size / sizeof(*rels); in module_frob_arch_sections() local
349 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()
/Linux-v4.19/samples/bpf/
Dbpf_load.c327 int i, nrels; in parse_relo_and_apply() local
329 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
331 for (i = 0; i < nrels; i++) { in parse_relo_and_apply()
/Linux-v4.19/tools/lib/bpf/
Dlibbpf.c901 int i, nrels; in bpf_program__collect_reloc() local
905 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()