Lines Matching refs:ext_name
2953 static int find_extern_btf_id(const struct btf *btf, const char *ext_name) in find_extern_btf_id() argument
2970 if (strcmp(var_name, ext_name)) in find_extern_btf_id()
3092 const char *ext_name, *sec_name; in bpf_object__collect_externs() local
3113 ext_name = elf_sym_str(obj, sym.st_name); in bpf_object__collect_externs()
3114 if (!ext_name || !ext_name[0]) in bpf_object__collect_externs()
3126 ext->btf_id = find_extern_btf_id(obj->btf, ext_name); in bpf_object__collect_externs()
3129 ext_name, ext->btf_id); in bpf_object__collect_externs()
3140 ext_name, ext->btf_id, ext->sec_btf_id); in bpf_object__collect_externs()
3152 ext_name, ext->kcfg.sz); in bpf_object__collect_externs()
3158 ext_name, ext->kcfg.align); in bpf_object__collect_externs()
3164 pr_warn("extern (kcfg) '%s' type is unsupported\n", ext_name); in bpf_object__collect_externs()
3210 ext_name = btf__name_by_offset(obj->btf, vt->name_off); in bpf_object__collect_externs()
3211 ext = find_extern_by_name(obj, ext_name); in bpf_object__collect_externs()
3214 ext_name); in bpf_object__collect_externs()
3245 ext_name = btf__name_by_offset(obj->btf, t->name_off); in bpf_object__collect_externs()
3246 ext = find_extern_by_name(obj, ext_name); in bpf_object__collect_externs()
3249 ext_name); in bpf_object__collect_externs()