Home
last modified time | relevance | path

Searched refs:nr_reloc (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/objtool/
Delf.c816 unsigned long nr_reloc, max_reloc = 0, tot_reloc = 0; in read_relocs() local
832 nr_reloc = 0; in read_relocs()
864 nr_reloc++; in read_relocs()
866 max_reloc = max(max_reloc, nr_reloc); in read_relocs()
867 tot_reloc += nr_reloc; in read_relocs()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c262 int nr_reloc; member
532 prog->nr_reloc = 0; in bpf_program__exit()
3567 prog->nr_reloc + 1, sizeof(*relos)); in bpf_object__collect_prog_relos()
3574 err = bpf_program__record_reloc(prog, &relos[prog->nr_reloc], in bpf_object__collect_prog_relos()
3579 prog->nr_reloc++; in bpf_object__collect_prog_relos()
6008 for (i = 0; i < prog->nr_reloc; i++) { in bpf_object__relocate_data()
6208 return bsearch(&insn_idx, prog->reloc_desc, prog->nr_reloc, in find_prog_insn_relo()
6414 for (j = 0; j < subprog->nr_reloc; j++) in bpf_object__relocate_calls()
6479 prog->nr_reloc = 0; in bpf_object__relocate()
6642 if (!p->nr_reloc) in bpf_object__collect_relos()
[all …]