Lines Matching defs:aname
439 char *aname, *aval;
482 aname = nvpair_name(apair);
484 if (strcmp(aname, FM_FMRI_AUTH_V1_CHASSIS_ALIAS) == 0)
488 aname, aval);
802 char *aname = NULL, *aid = NULL, *fs;
840 if ((aname = topo_mod_strdup(mod, startn)) == NULL)
856 if (cmp_str(aname, FM_FMRI_HC_V0_SERIAL) == 0 ||
857 cmp_str(aname, FM_FMRI_HC_V1_FRU_SN) == 0) {
859 } else if (cmp_str(aname, FM_FMRI_HC_DEVID) == 0) {
861 } else if (cmp_str(aname, FM_FMRI_HC_PARENT_SERIAL)
864 } else if (cmp_str(aname, FM_FMRI_HC_V0_PART) == 0 ||
865 cmp_str(aname, FM_FMRI_HC_V1_FRU_PN) == 0) {
867 } else if (cmp_str(aname, FM_FMRI_HC_V0_REVISION) == 0 ||
868 cmp_str(aname, FM_FMRI_HC_V1_FRU_REV) == 0) {
874 (void) nvlist_add_string(na, aname,
878 (void) nvlist_add_string(na, aname, aid);
881 topo_mod_strfree(mod, aname);
883 aname = aid = NULL;
894 topo_mod_strfree(mod, aname);