Home
last modified time | relevance | path

Searched refs:csn (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/tr/
H A Dcset.c68 struct csnode *csn, *ncsn; in cset_add() local
78 if (csn == NULL) in cset_add()
80 csn->csn_left = csn->csn_right = NULL; in cset_add()
81 csn->csn_min = csn->csn_max = ch; in cset_add()
82 cs->cs_root = csn; in cset_add()
95 if (cset_rangecmp(csn, ch) == 0) in cset_add()
106 ncsn->csn_left = csn->csn_left; in cset_add()
107 ncsn->csn_right = csn; in cset_add()
108 csn->csn_left = NULL; in cset_add()
111 ncsn->csn_left = csn; in cset_add()
[all …]
/illumos-gate/usr/src/boot/common/
H A Disapnp.c232 int csn; in isapnp_isolation_protocol() local
242 for (csn = 1; ; csn++) { in isapnp_isolation_protocol()
250 isapnp_write(SET_CSN, csn); in isapnp_isolation_protocol()
268 while (--csn > 0) { in isapnp_isolation_protocol()
270 isapnp_write(WAKE, csn); in isapnp_isolation_protocol()
273 csn--; in isapnp_isolation_protocol()
H A Disapnp.h248 u_char csn; /* assigned Card Select Number */ member
267 char * (*pd_probe ) (u_long csn, u_long vendor_id);
268 void (*pd_attach ) (u_long csn, u_long vend_id, char * name,
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dlibses.c39 char csn[17]; in libses_parse_node() local
67 (void) snprintf(csn, sizeof (csn), "%llx", id); in libses_parse_node()
68 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, csn); in libses_parse_node()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_subr.c182 char *csn = NULL; in x86pi_set_auth() local
296 FM_FMRI_AUTH_CHASSIS, &csn); in x86pi_set_auth()
297 if (result != 0 || csn == NULL) { in x86pi_set_auth()
310 csn = val = topo_mod_strdup(mod, hcfmri->serial_number); in x86pi_set_auth()
317 if (csn != NULL) { in x86pi_set_auth()
321 TOPO_PROP_MUTABLE, csn, &err); in x86pi_set_auth()
325 TOPO_PROP_IMMUTABLE, csn, &err); in x86pi_set_auth()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c803 char csn[MAXNAMELEN]; in topo_mod_csn() local
812 (void) strlcpy(csn, bufp, MAXNAMELEN); in topo_mod_csn()
819 (void) strlcpy(csn, bufp, MAXNAMELEN); in topo_mod_csn()
827 return (topo_cleanup_auth_str(mod->tm_hdl, csn)); in topo_mod_csn()
835 char *csn = NULL; in topo_mod_auth() local
850 FM_FMRI_AUTH_CHASSIS, &csn, &err); in topo_mod_auth()
859 if (csn == NULL) in topo_mod_auth()
860 csn = topo_mod_csn(mod); in topo_mod_auth()
870 if (!prod && !server && !csn && !psn) { in topo_mod_auth()
888 if (csn != NULL) { in topo_mod_auth()
[all …]
H A Dtopo_subr.c587 char *prod, *psn, *csn, *server; in topo_pgroup_hcset() local
618 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &csn) == 0) in topo_pgroup_hcset()
620 FM_FMRI_AUTH_CHASSIS, TOPO_PROP_IMMUTABLE, csn, in topo_pgroup_hcset()
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg.c1280 char *platform, *server, *csn; in fmd_msg_gettext_locked() local
1331 if (nvlist_lookup_string(auth, FM_FMRI_AUTH_PRODUCT_SN, &csn) != 0 && in fmd_msg_gettext_locked()
1332 nvlist_lookup_string(auth, FM_FMRI_AUTH_CHASSIS, &csn) != 0) in fmd_msg_gettext_locked()
1333 csn = (char *)FMD_MSG_MISSING; in fmd_msg_gettext_locked()
1341 date, platform, csn, server, src_name, src_vers, uuid, in fmd_msg_gettext_locked()
1352 date, platform, csn, server, src_name, src_vers, uuid, in fmd_msg_gettext_locked()
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/
H A Dses.c663 char *vendor, *product, *revision, *csn; in sendimg() local
684 (nvlist_lookup_string(props, LIBSES_EN_PROP_CSN, &csn) != 0)) { in sendimg()
691 (void) printf("%30s: %s\n", "serial", csn); in sendimg()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses.c3297 char *csn; in ses_enum_gather() local
3318 &csn) != 0) in ses_enum_gather()
3357 if (strcmp(cp->sec_csn, csn) == 0) in ses_enum_gather()
3369 cp->sec_csn = csn; in ses_enum_gather()
3386 sdp->sed_name, csn, subchassis); in ses_enum_gather()
3392 scp->sec_csn = csn; in ses_enum_gather()
3415 sdp->sed_name, csn); in ses_enum_gather()
3425 sdp->sed_name, csn); in ses_enum_gather()
3446 sdp->sed_name, csn); in ses_enum_gather()
3453 scp->sec_csn = csn; in ses_enum_gather()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd.c372 const char *name, *psn, *csn; in fmd_create() local
397 if ((csn = smbios_csn(shp)) != NULL) in fmd_create()
398 fmd_cleanup_auth_str(_fmd_csn, csn); in fmd_create()
/illumos-gate/usr/src/common/smbios/
H A Dsmb_info.c1468 const char *psn, *csn; in smbios_psn() local
1470 return (smb_get_sn(shp, &psn, &csn) == SMB_ERR ? NULL : psn); in smbios_psn()
1476 const char *psn, *csn; in smbios_csn() local
1478 return (smb_get_sn(shp, &psn, &csn) == SMB_ERR ? NULL : csn); in smbios_csn()