Lines Matching refs:nr_reloc
262 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()
6645 qsort(p->reloc_desc, p->nr_reloc, sizeof(*p->reloc_desc), cmp_relocs); in bpf_object__collect_relos()