Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dbpf_load.c343 int i, nrels; in parse_relo_and_apply() local
345 nrels = shdr->sh_size / shdr->sh_entsize; in parse_relo_and_apply()
347 for (i = 0; i < nrels; i++) { in parse_relo_and_apply()
/Linux-v5.4/arch/parisc/kernel/
Dmodule.c313 unsigned long nrels = sechdrs[i].sh_size / sizeof(*rels); in module_frob_arch_sections() local
328 gots += count_gots(rels, nrels); in module_frob_arch_sections()
329 fdescs += count_fdescs(rels, nrels); in module_frob_arch_sections()
334 count = count_stubs(rels, nrels); in module_frob_arch_sections()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c1732 int i, nrels; in bpf_program__collect_reloc() local
1735 nrels = shdr->sh_size / shdr->sh_entsize; in bpf_program__collect_reloc()
1737 prog->reloc_desc = malloc(sizeof(*prog->reloc_desc) * nrels); in bpf_program__collect_reloc()
1742 prog->nr_reloc = nrels; in bpf_program__collect_reloc()
1744 for (i = 0; i < nrels; i++) { in bpf_program__collect_reloc()