Searched refs:lun_str (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/ |
H A D | smartpqi_util.c | 859 static char lun_str[64]; variable 864 lun_str[0] = '\0'; in lun_to_str() 866 (void) snprintf(lun_str + strlen(lun_str), in lun_to_str() 867 sizeof (lun_str) - strlen(lun_str), "%02x.", *lun++); in lun_to_str() 868 return (lun_str); in lun_to_str()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 14177 char *lun_str = NULL; in mptsas_parse_address() local 14200 lun_str = kmem_zalloc(SCSI_MAXNAMELEN, KM_SLEEP); in mptsas_parse_address() 14203 bcopy(ptr, lun_str, s); in mptsas_parse_address() 14204 lun_str[s] = '\0'; in mptsas_parse_address() 14218 rc = ddi_strtol(lun_str, NULL, 0x10, &lunnum); in mptsas_parse_address() 14227 if (lun_str) in mptsas_parse_address() 14228 kmem_free(lun_str, SCSI_MAXNAMELEN); in mptsas_parse_address()
|