Lines Matching refs:targ_name
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
483 targ_name = btf__name_by_offset(targ_spec->btf, e->name_off); in bpf_core_spec_match()
484 targ_essent_len = bpf_core_essential_name_len(targ_name); in bpf_core_spec_match()
487 if (strncmp(local_acc->name, targ_name, local_essent_len) == 0) { in bpf_core_spec_match()
490 targ_acc->name = targ_name; in bpf_core_spec_match()