Lines Matching refs:nr_extern
448 int nr_extern; member
1517 for (i = 0; i < obj->nr_extern; i++) { in find_extern_by_name()
1790 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__init_kconfig_map()
2565 obj->nr_extern > 0; in libbpf_needs_btf()
2656 for (i = 0; i < obj->nr_extern; i++) { in obj_needs_vmlinux_btf()
3341 ext = libbpf_reallocarray(ext, obj->nr_extern + 1, sizeof(*ext)); in bpf_object__collect_externs()
3345 ext = &ext[obj->nr_extern]; in bpf_object__collect_externs()
3347 obj->nr_extern++; in bpf_object__collect_externs()
3410 pr_debug("collected %d externs total\n", obj->nr_extern); in bpf_object__collect_externs()
3412 if (!obj->nr_extern) in bpf_object__collect_externs()
3416 qsort(obj->externs, obj->nr_extern, sizeof(*ext), cmp_externs); in bpf_object__collect_externs()
3435 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__collect_externs()
3489 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__collect_externs()
3616 int i, n = obj->nr_extern; in bpf_program__record_reloc()
6757 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__resolve_ksyms_btf_id()
6788 if (obj->nr_extern == 0) in bpf_object__resolve_externs()
6794 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__resolve_externs()
6828 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__resolve_externs()
6851 for (i = 0; i < obj->nr_extern; i++) { in bpf_object__resolve_externs()
7548 obj->nr_extern = 0; in bpf_object__close()