FM_FMRI_HC_SERIAL_ID
if (nvlist_lookup_string(nvl, FM_FMRI_HC_SERIAL_ID,
(void) nvlist_remove(dupfmri, FM_FMRI_HC_SERIAL_ID, DATA_TYPE_STRING);
if (nvlist_lookup_string(fmri, FM_FMRI_HC_SERIAL_ID, &serial) != 0) {
FM_FMRI_HC_SERIAL_ID);
(void) nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID,
FM_FMRI_HC_SERIAL_ID) == FMD_OBJ_STATE_REPLACED ||
FM_FMRI_HC_SERIAL_ID);
FM_FMRI_HC_SERIAL_ID,
(void) nvlist_lookup_string(nvl, FM_FMRI_HC_SERIAL_ID, &serial);
buf, buflen, serial, ":" FM_FMRI_HC_SERIAL_ID "=", NULL);
(void) nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, serial);
if (strcmp(aname, FM_FMRI_HC_SERIAL_ID) == 0) {
if (nvlist_lookup_string(nvl, FM_FMRI_HC_SERIAL_ID, &sp) == 0) {
if (fmri_prop(thp, nvl, TOPO_PGROUP_PROTOCOL, FM_FMRI_HC_SERIAL_ID,
FM_FMRI_HC_SERIAL_ID,
perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID,
if (nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID,
if (nvlist_lookup_string(fmri, FM_FMRI_HC_SERIAL_ID, &val) != 0)
FM_FMRI_HC_SERIAL_ID, serial);
FM_FMRI_HC_SERIAL_ID, TOPO_PROP_IMMUTABLE, serial, &perr);
if (nvlist_lookup_string(fmri, FM_FMRI_HC_SERIAL_ID,
FM_FMRI_HC_SERIAL_ID, serial);
FM_FMRI_HC_SERIAL_ID, TOPO_PROP_IMMUTABLE, serial, &perr);
FM_FMRI_HC_SERIAL_ID, &serial);
FM_FMRI_HC_SERIAL_ID, TOPO_PROP_IMMUTABLE,
FM_FMRI_HC_SERIAL_ID, TOPO_PROP_IMMUTABLE,
perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID,
FM_FMRI_HC_SERIAL_ID, TOPO_PROP_IMMUTABLE,
} else if (strcmp(name, FM_FMRI_HC_SERIAL_ID) == 0) {
if (nvlist_lookup_string(unum, FM_FMRI_HC_SERIAL_ID, &old_serial))
if (nvlist_lookup_string(resource, FM_FMRI_HC_SERIAL_ID,
FM_FMRI_HC_SERIAL_ID, &curr_serial, &err) != 0) {
if (nvlist_lookup_string(rsrc, FM_FMRI_HC_SERIAL_ID,
if (nvlist_lookup_string(in, FM_FMRI_HC_SERIAL_ID, &old_serial) != 0) {
(void) nvlist_add_string(newdimm, FM_FMRI_HC_SERIAL_ID, sbuf);
(void) nvlist_add_string(newdimm, FM_FMRI_HC_SERIAL_ID, sbuf);