Searched refs:wwnstr (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/libdevid/ |
H A D | libdevid.h | 50 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);
|
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_address.h | 168 int scsi_wwnstr_to_wwn(const char *wwnstr, uint64_t *wwnp); 170 int unit_address_form, char *wwnstr); 171 void scsi_wwnstr_hexcase(char *wwnstr, int lower_case); 172 const char *scsi_wwnstr_skip_ua_prefix(const char *wwnstr); 173 void scsi_free_wwnstr(char *wwnstr);
|
/illumos-gate/usr/src/common/devid/ |
H A D | devid_scsi.c | 1233 * Description: This routine translates wwn from wwnstr string to uint64 wwn. 1235 * Arguments: wwnstr - the string wwn to be transformed 1239 scsi_wwnstr_to_wwn(const char *wwnstr, uint64_t *wwnp) argument 1249 if (wwnstr == NULL) 1252 /* Skip leading 'w' if wwnstr is in unit-address form */ 1253 wwnstr = scsi_wwnstr_skip_ua_prefix(wwnstr); 1255 if (strlen(wwnstr) != 16) 1259 ch = ctoi(*wwnstr++); 1260 cl = ctoi(*wwnstr 1283 scsi_wwn_to_wwnstr(uint64_t wwn, int unit_address_form, char *wwnstr) argument 1318 scsi_wwnstr_hexcase(char *wwnstr, int upper_case_hex) argument 1345 scsi_wwnstr_skip_ua_prefix(const char *wwnstr) argument 1362 scsi_free_wwnstr(char *wwnstr) argument [all...] |
H A D | devid_smp.c | 51 * Typically the wwnstr makes a good devid, however in some cases the wwnstr 74 * wwnstr - smp SAS address in wwnstr (unit-address) form. 90 char *wwnstr, /* IN */ 117 if (wwnstr == NULL) 120 /* convert wwnstr to binary */ 121 if (scsi_wwnstr_to_wwn(wwnstr, &wwn) != DDI_SUCCESS) 84 ddi_devid_smp_encode( int version, char *driver_name, char *wwnstr, uchar_t *srmir_buf, size_t srmir_len, ddi_devid_t *devid) argument
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | sgen_link.c | 68 uchar_t *wwnstr; local 124 "client-guid", (char **)&wwnstr) > 0) { 128 if (strlcpy((char *)buf, (char *)wwnstr, sizeof (buf)) >= 140 "port-wwn", &wwnstr) == 8) { 151 (void) sprintf(tstr, "%02X", wwnstr[count]);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | sunddi.h | 2073 char *wwnstr, uchar_t *srmir_buf, size_t srmir_len,
|
Completed in 81 milliseconds