Lines Matching refs:targ_name
437 const char *local_name, *targ_name; in bpf_core_fields_are_compat() local
442 targ_name = btf__name_by_offset(targ_btf, targ_type->name_off); in bpf_core_fields_are_compat()
444 targ_len = bpf_core_essential_name_len(targ_name); in bpf_core_fields_are_compat()
448 strncmp(local_name, targ_name, local_len) == 0); in bpf_core_fields_are_compat()
490 const char *local_name, *targ_name; in bpf_core_match_member() local
520 targ_name = btf__name_by_offset(targ_btf, m->name_off); in bpf_core_match_member()
521 if (str_is_empty(targ_name)) { in bpf_core_match_member()
528 } else if (strcmp(local_name, targ_name) == 0) { in bpf_core_match_member()
535 targ_acc->name = targ_name; in bpf_core_match_member()
588 const char *targ_name; in bpf_core_spec_match() local
603 targ_name = btf__name_by_offset(targ_spec->btf, name_off); in bpf_core_spec_match()
604 targ_essent_len = bpf_core_essential_name_len(targ_name); in bpf_core_spec_match()
607 if (strncmp(local_acc->name, targ_name, local_essent_len) == 0) { in bpf_core_spec_match()
610 targ_acc->name = targ_name; in bpf_core_spec_match()