Searched refs:ch_sn (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/ |
H A D | bay_util.c | 160 char *ch_sn = malloc(MAXNAMELEN); local 166 bcopy(csn, ch_sn, strlen(csn) + 1); 170 ch_sn = di_cro_strclean(ch_sn, 1, 1); 179 if (!cmp_str(ch_sn, BAY_PROP_UNKNOWN)) { 180 sn_len = strlen(ch_sn); 186 platform, prod_name, ch_sn); 199 free(ch_sn);
|
H A D | bay.c | 723 char *ch_sn = NULL; local 787 ch_sn = topo_mod_alloc(mod, MAXNAMELEN); 788 if (conf_fnm == NULL || prod == NULL || ch_sn == NULL) { 791 if (ch_sn != NULL) 792 topo_mod_free(mod, ch_sn, MAXNAMELEN); 801 if (get_prod(mod, t_parent, prod, ch_sn) != 0) { 803 topo_mod_free(mod, ch_sn, MAXNAMELEN); 810 gen_ofile_name(prod, ch_sn, conf_fnm); 818 if (strlen(prod) > 0 && strlen(ch_sn) > 0) { 820 *ch_sn [all...] |
H A D | bay_subr.c | 437 get_prod(topo_mod_t *mod, tnode_t *tparent, char *prod, char *ch_sn) argument 476 bcopy(val, ch_sn, strlen(val) + 1); 478 FM_FMRI_AUTH_V1_CHASSIS_SN, ch_sn); 480 bcopy(BAY_PROP_UNKNOWN, ch_sn, strlen(BAY_PROP_UNKNOWN) + 1); 608 char *ch_sn = NULL; local 631 ch_sn = token; 649 ch_sn == NULL || label == NULL) { 669 prod, drv_name, drv_inst, ch_l, ch_sn, phy, label); 677 bp->ch_serial = topo_mod_strdup(mod, ch_sn);
|
Completed in 26 milliseconds