/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard_topo.h | 51 char *sn; /* cpuboard serial # */ member in struct:__anon2504
|
H A D | cpuboard.c | 99 char *sn = NULL, *pn = NULL; local 187 sn = pn = dn = NULL; 190 "serial_number", &sn); 191 cpubs[id].sn = topo_mod_strdup(mod, sn); 250 NULL, auth, cpubc->pn, NULL, cpubc->sn); 448 if (cpuboard_list[i].sn != NULL) 449 topo_mod_strfree(mod, cpuboard_list[i].sn);
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t4.c | 56 char sn[10], *snp, *temp; local 277 sn[0] = c; 278 snp=sn+1; 282 sep[icol-1] = max(sep[icol-1], numb(sn));
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | security.c | 231 ASN1_INTEGER *sn; local 233 if ((sn = X509_get_serialNumber(cert)) != 0) { 237 ASN1_INTEGER_get(sn));
|
/illumos-gate/usr/src/uts/common/io/sfxge/ |
H A D | sfxge_mon.c | 73 int rc, sn; local 92 for (sn = 0; sn < EFX_MON_NSTATS; sn++) { 93 if (encp->enc_mon_stat_mask[sn / EFX_MON_MASK_ELEMENT_SIZE] & 94 (1 << (sn % EFX_MON_MASK_ELEMENT_SIZE))) { 95 knp->value.ui64 = smp->sm_statbuf[sn].emsv_value;
|
H A D | sfxge_phy.c | 82 int rc, sn; local 103 for (sn = 0; sn < EFX_PHY_NSTATS; sn++) { 104 knp->value.ui64 = spp->sp_statbuf[sn];
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/ |
H A D | gmem_page.c | 251 char *sn; local 254 FM_FMRI_HC_SERIAL_ID, &sn) != 0) 260 asru = gmem_find_dimm_asru(hdl, sn); 264 (void) nvlist_add_string_array(asru, FM_FMRI_MEM_SERIAL_ID, &sn, 1);
|
H A D | gmem_dimm.c | 444 gmem_find_dimm_fru(fmd_hdl_t *hdl, char *sn) argument 447 (void) strcpy(fru.serial, sn); 453 gmem_find_dimm_rsc(fmd_hdl_t *hdl, char *sn) argument 456 (void) strcpy(rsc.serial, sn); 462 gmem_find_dimm_asru(fmd_hdl_t *hdl, char *sn) argument 465 (void) strcpy(asru.serial, sn); 473 char *sn; local 476 if (nvlist_lookup_string(asru, FM_FMRI_HC_SERIAL_ID, &sn) != 0) { 480 dimm = gmem_find_dimm_fru(hdl, sn); 482 fmd_hdl_debug(hdl, "Dimm sn [all...] |
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4400/common/ |
H A D | riverwalk.c | 81 char *pn, *sn; local 120 sn = pn = NULL; 129 sn = strp->rws_ps0_sn; 137 sn = strp->rws_ps1_sn; 149 sn = strp->rws_sim0_sn; 157 sn = strp->rws_sim1_sn; 175 sn = strp->rws_ps0_sn; 183 sn = strp->rws_ps1_sn; 200 if (sn[0] != '\0') { 201 (void) bcopy(sn, bu [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/motherboard/ |
H A D | motherboard.c | 130 char *sn, *pn, *dn, *csn, *psn; local 193 sn = pn = dn = psn = csn = NULL; 200 "serial_number", &sn) < 0) 201 sn = NULL; 224 *serialp = topo_mod_strdup(mod, sn); 311 "failed to add product-sn to auth");
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/ |
H A D | cpu_mdesc.c | 168 uint64_t x, sn; local 220 if (md_get_prop_val(mdp, list1p[i], MD_STR_SERIAL, &sn) < 0) { 228 sn = (uint64_t)strtoull(strserial, &end, 16); 238 procp->serialno = sn; 250 topo_mod_dprintf(mod, "proc %d: sn=%llx, id=%d\n", nproc, 260 sn, cnt); 280 mcmp->cpumap_serialno = sn; 310 topo_mod_dprintf(mod, "proc[%d] sn=%llx has a fru %d\n", 326 topo_mod_dprintf(mod, "proc[%d] sn=%llx has no fru\n",
|
/illumos-gate/usr/src/cmd/avs/dsw/ |
H A D | iiboot.c | 313 char key[CFG_MAX_KEY], buf[CFG_MAX_BUF], sn[CFG_MAX_BUF]; local 365 if (cfg_l_dgname(lp->shadow_vol, sn, sizeof (sn))) 366 ctag = sn;
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 610 char *sn; local 612 sn = hald_symname(sdev); 619 sn ? sn : sdev, &t_dev->d_inq[8], 623 if (sn) 624 free(sn);
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 176 *uri = NULL, *sn, *serial; local 178 sn = serial = pseudo_serialno_from_addr(hostaddr); 252 if (sn != NULL) 253 free(sn);
|
/illumos-gate/usr/src/cmd/sgs/tools/common/ |
H A D | string_table.c | 199 StrNode *snp, sn = { 0 }; local 246 sn.sn_str = str; 247 if ((snp = avl_find(lnp->ln_strtree, &sn, &where)) == NULL) { 266 StrNode *snp, sn = { 0 }; local 284 sn.sn_str = str; 285 if ((snp = avl_find(lnp->ln_strtree, &sn, 0)) != NULL) {
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | expand.c | 175 const char *scn, *sn, *in, *pgn, *pn; local 177 if (scf_parse_svc_fmri(spec, &scn, &sn, &in, &pgn, 181 if (sn == NULL || pgn == NULL || pn == NULL) { 197 if (scf_scope_get_service(scope, sn, svc) != 0)
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | charmap.c | 262 int sn, en; local 274 ((sn = atoi(s + si)) > ((en = atoi(e + si))))) { 281 for (i = sn; i <= en; i++) {
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | setlist.c | 125 int sn = -1; local 147 if (sn == -1 && strcmp(pt, "none") == 0) 148 sn = n; 157 if (pt && sn != -1) 172 if (sn > 0) { 173 struct_ptr = list[sn]; 174 for (i = sn; i > 0; i--) 290 int sn = -1; local 296 if (sn == -1) 297 sn [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/include/ |
H A D | license.h | 106 u32_t sn; member in struct:_license_key_b 168 u32_t sn; member in struct:_license_key_l
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_construct.c | 166 bootfs_node_t sn; local 174 sn.bvn_name = buf; 175 if ((bnp = avl_find(&parent->bvn_dir, &sn, &where)) != NULL) {
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set_drv.c | 137 mdsidenames_t *sn, **sn_next; local 169 sn = Zalloc(sizeof (*sn)); 172 &sn->cname, &sn->dname, &sn->mnum, ep)) == -1) { 175 sn->dname = Strdup(midp->mid_driver_name); 176 sn->mnum = midp->mid_mnum; 178 Free(sn); 185 Free(sn); [all...] |
H A D | meta_set_prv.c | 670 mdsidenames_t *sn = NULL; local 679 for (sn = dnp->side_names; sn != NULL; sn = sn->next) { 680 if (sn->sideno == c.c_sideno) 687 if (sn == NULL) { 722 c.c_locator.l_mnum = sn->mnum; 723 (void) strncpy(c.c_locator.l_driver, sn->dname, 729 MD_LOCAL_SET, sn [all...] |
H A D | meta_set_hst.c | 1957 mdsidenames_t *sn, **sn_next; local 1969 for (sn = dnp->side_names; sn->next != NULL; sn = sn->next) 1971 sn_next = &sn->next; 1979 sn = Zalloc(sizeof (*sn)); 1980 sn->sideno = sideno; 1988 if (meta_getside_devinfo(sp, np->bname, sideno, &sn [all...] |
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metainit.c | 417 mdsetname_t sn; local 430 sn.setname = sr->sr_setname; 431 sn.setno = sr->sr_setno; 432 sn.setdesc = sr2setdesc(sr); 433 sn.lockfd = MD_NO_LOCK; 436 dd = metaget_drivedesc(&sn, MD_BASICNAME_OK | PRINT_FAST, 439 dd = metaget_drivedesc(&sn, MD_BASICNAME_OK, &error); 453 if (setup_db_bydd(&sn, dd, 0, &error) != 0) { 468 if ((sideno = getmyside(&sn, &error)) == MD_SIDEWILD) { 473 if (snarf_set(&sn, FALS [all...] |
/illumos-gate/usr/src/cmd/iconv/ |
H A D | charmap.c | 387 int sn, en; local 408 ((sn = atoi(ssym + si)) > ((en = atoi(esym + si))))) { 414 for (i = sn; i <= en; i++) {
|