Home
last modified time | relevance | path

Searched refs:wwnstr (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/libdevid/
H A Dlibdevid.h50 char *wwnstr, uchar_t *srmir_buf, size_t srmir_len,
56 extern int scsi_wwnstr_to_wwn(const char *wwnstr, uint64_t *wwnp);
58 int unit_address_form, char *wwnstr);
59 extern void scsi_wwnstr_hexcase(char *wwnstr, int lower_case);
60 extern const char *scsi_wwnstr_skip_ua_prefix(const char *wwnstr);
61 extern void scsi_free_wwnstr(char *wwnstr);
/titanic_41/usr/src/common/devid/
H A Ddevid_scsi.c1239 scsi_wwnstr_to_wwn(const char *wwnstr, uint64_t *wwnp) in scsi_wwnstr_to_wwn() argument
1249 if (wwnstr == NULL) in scsi_wwnstr_to_wwn()
1253 wwnstr = scsi_wwnstr_skip_ua_prefix(wwnstr); in scsi_wwnstr_to_wwn()
1255 if (strlen(wwnstr) != 16) in scsi_wwnstr_to_wwn()
1259 ch = ctoi(*wwnstr++); in scsi_wwnstr_to_wwn()
1260 cl = ctoi(*wwnstr++); in scsi_wwnstr_to_wwn()
1283 scsi_wwn_to_wwnstr(uint64_t wwn, int unit_address_form, char *wwnstr) in scsi_wwn_to_wwnstr() argument
1293 if (wwnstr == NULL) { in scsi_wwn_to_wwnstr()
1295 if ((wwnstr = DEVID_MALLOC(len)) == NULL) in scsi_wwn_to_wwnstr()
1300 (void) snprintf(wwnstr, len, "w%016" PRIx64, wwn); in scsi_wwn_to_wwnstr()
[all …]
H A Ddevid_smp.c90 char *wwnstr, /* IN */ in ddi_devid_smp_encode() argument
117 if (wwnstr == NULL) in ddi_devid_smp_encode()
121 if (scsi_wwnstr_to_wwn(wwnstr, &wwn) != DDI_SUCCESS) in ddi_devid_smp_encode()
/titanic_41/usr/src/uts/common/sys/scsi/
H A Dscsi_address.h169 int scsi_wwnstr_to_wwn(const char *wwnstr, uint64_t *wwnp);
171 int unit_address_form, char *wwnstr);
172 void scsi_wwnstr_hexcase(char *wwnstr, int lower_case);
173 const char *scsi_wwnstr_skip_ua_prefix(const char *wwnstr);
174 void scsi_free_wwnstr(char *wwnstr);
/titanic_41/usr/src/cmd/devfsadm/
H A Dsgen_link.c68 uchar_t *wwnstr; in sgen_callback() local
124 "client-guid", (char **)&wwnstr) > 0) { in sgen_callback()
128 if (strlcpy((char *)buf, (char *)wwnstr, sizeof (buf)) >= in sgen_callback()
140 "port-wwn", &wwnstr) == 8) { in sgen_callback()
151 (void) sprintf(tstr, "%02X", wwnstr[count]); in sgen_callback()
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_physical.c74 char wwnstr[SCSI_WWN_BUFLEN]; in smrt_phys_lookup_by_ua() local
76 (void) scsi_wwn_to_wwnstr(smpt->smpt_wwn, 1, wwnstr); in smrt_phys_lookup_by_ua()
77 if (strncmp(wwnstr, ua, SCSI_WWN_UA_STRLEN) != 0) in smrt_phys_lookup_by_ua()
/titanic_41/usr/src/uts/common/sys/
H A Dsunddi.h2078 char *wwnstr, uchar_t *srmir_buf, size_t srmir_len,