Searched refs:targ_name (Results 1 – 2 of 2) sorted by relevance
/tools/lib/bpf/ |
D | relo_core.c | 325 const char *local_name, *targ_name; in bpf_core_fields_are_compat() local 330 targ_name = btf__name_by_offset(targ_btf, targ_type->name_off); in bpf_core_fields_are_compat() 332 targ_len = bpf_core_essential_name_len(targ_name); in bpf_core_fields_are_compat() 336 strncmp(local_name, targ_name, local_len) == 0); in bpf_core_fields_are_compat() 380 const char *local_name, *targ_name; in bpf_core_match_member() local 410 targ_name = btf__name_by_offset(targ_btf, m->name_off); in bpf_core_match_member() 411 if (str_is_empty(targ_name)) { in bpf_core_match_member() 418 } else if (strcmp(local_name, targ_name) == 0) { in bpf_core_match_member() 425 targ_acc->name = targ_name; in bpf_core_match_member() 473 const char *targ_name; in bpf_core_spec_match() local [all …]
|
D | libbpf.c | 4827 const char *targ_name; in bpf_core_add_cands() local 4837 targ_name = btf__name_by_offset(targ_btf, t->name_off); in bpf_core_add_cands() 4838 if (str_is_empty(targ_name)) in bpf_core_add_cands() 4841 targ_essent_len = bpf_core_essential_name_len(targ_name); in bpf_core_add_cands() 4845 if (strncmp(local_cand->name, targ_name, local_essent_len) != 0) in bpf_core_add_cands() 4850 local_cand->name, i, btf_kind_str(t), targ_name, in bpf_core_add_cands() 4860 cand->name = targ_name; in bpf_core_add_cands() 6709 const char *targ_name, *local_name; in bpf_object__resolve_ksym_var_btf_id() local 6713 targ_name = btf__name_by_offset(btf, targ_type->name_off); in bpf_object__resolve_ksym_var_btf_id() 6718 btf_kind_str(targ_type), targ_name); in bpf_object__resolve_ksym_var_btf_id()
|