/titanic_41/usr/src/lib/fm/topo/modules/sun4v/motherboard/ |
H A D | motherboard.c | 130 char *sn, *pn, *dn, *csn, *psn; in mb_get_pri_info() local 193 sn = pn = dn = psn = csn = NULL; in mb_get_pri_info() 210 "serial_number", &psn) < 0) in mb_get_pri_info() 211 psn = NULL; in mb_get_pri_info() 233 *psnp = topo_mod_strdup(mod, psn); in mb_get_pri_info() 249 char *prod, *psn, *csn, *server; in mb_prop_set() local 258 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &psn) == 0) in mb_prop_set() 260 FM_FMRI_AUTH_PRODUCT_SN, TOPO_PROP_IMMUTABLE, psn, &err); in mb_prop_set() 287 char *psn = NULL, *csn = NULL, *pstr = NULL; in mb_tnode_create() local 294 (void) mb_get_pri_info(mod, &serial, &part, &csn, &psn); in mb_tnode_create() [all …]
|
/titanic_41/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_mod.c | 775 const char *psn; in topo_mod_psn() local 778 (psn = smbios_psn(shp)) == NULL) in topo_mod_psn() 781 return (topo_cleanup_auth_str(mod->tm_hdl, psn)); in topo_mod_psn() 820 char *psn = NULL; in topo_mod_auth() local 832 FM_FMRI_AUTH_PRODUCT_SN, &psn, &err); in topo_mod_auth() 845 if (psn == NULL) in topo_mod_auth() 846 psn = topo_mod_psn(mod); in topo_mod_auth() 854 if (!prod && !server && !csn && !psn) { in topo_mod_auth() 864 if (psn != NULL) { in topo_mod_auth() 865 err |= nvlist_add_string(auth, FM_FMRI_AUTH_PRODUCT_SN, psn); in topo_mod_auth() [all …]
|
H A D | topo_xml.c | 1172 xmlNodePtr cn, gcn, psn, ecn, target; in pad_process() local 1227 psn = cn; in pad_process() 1247 psn = def_set; in pad_process() 1248 for (gcn = psn->xmlChildrenNode; gcn != NULL; in pad_process() 1305 target = psn; in pad_process()
|
H A D | hc.c | 253 char *prod, *psn, *csn, *server; in hc_prop_set() local 276 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &psn) in hc_prop_set() 279 FM_FMRI_AUTH_PRODUCT_SN, TOPO_PROP_IMMUTABLE, psn, in hc_prop_set()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/chip/ |
H A D | chip_sun4v.c | 129 char *prod = NULL, *psn = NULL, *csn = NULL, *server = NULL; in chip_tnode_create() local 140 FM_FMRI_AUTH_PRODUCT_SN, &psn, &err) == 0) { in chip_tnode_create() 142 psn); in chip_tnode_create() 143 topo_mod_strfree(mod, psn); in chip_tnode_create()
|
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 181 char *psn = NULL; in x86pi_set_auth() local 258 &psn); in x86pi_set_auth() 259 if (result != 0 || psn == NULL) { in x86pi_set_auth() 271 FM_FMRI_AUTH_PRODUCT_SN, TOPO_PROP_IMMUTABLE, psn, in x86pi_set_auth()
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_subr.c | 984 char *psn = NULL; in pi_set_auth() local 1069 psn = pi_get_productsn(mod, mdp, mde_node); in pi_set_auth() 1070 if (psn == NULL) { in pi_set_auth() 1081 psn = topo_mod_strdup(mod, val); in pi_set_auth() 1088 if (psn != NULL) { in pi_set_auth() 1090 FM_FMRI_AUTH_PRODUCT_SN, TOPO_PROP_IMMUTABLE, psn, in pi_set_auth() 1100 topo_mod_strfree(mod, psn); in pi_set_auth()
|
/titanic_41/usr/src/common/smbios/ |
H A D | smb_info.c | 1140 const char *psn, *csn; in smbios_psn() local 1142 return (smb_get_sn(shp, &psn, &csn) == SMB_ERR ? NULL : psn); in smbios_psn() 1148 const char *psn, *csn; in smbios_csn() local 1150 return (smb_get_sn(shp, &psn, &csn) == SMB_ERR ? NULL : csn); in smbios_csn()
|
/titanic_41/usr/src/cmd/fm/fmd/common/ |
H A D | fmd.c | 372 const char *name, *psn, *csn; in fmd_create() local 394 if ((psn = smbios_psn(shp)) != NULL) in fmd_create() 395 fmd_cleanup_auth_str(_fmd_psn, psn); in fmd_create()
|