/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | TgtFCHBA.cc | 57 log.debug("Constructing new Target mode HBA (%s)", path.c_str()); in TgtFCHBA() 73 "Failed to get HBA attribute for %s", path.c_str()); in TgtFCHBA() 97 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in getHBAAttributes() 115 portwwn = strtoull(portwwnString.c_str(), NULL, 16); in getHBAAttributes() 173 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in doForceLip() 190 portwwn = strtoull(portwwnString.c_str(), NULL, 16); in doForceLip() 235 if (stat(FCT_DRIVER_PATH.c_str(), &sb) != 0) { in loadAdapters() 240 FCT_DRIVER_PATH.c_str(), FCT_DRIVER_PKG.c_str()); in loadAdapters() 246 FCT_DRIVER_PATH.c_str(), strerror(errno)); in loadAdapters() 259 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_RDONLY)) < 0) { in loadAdapters() [all …]
|
H A D | FCHBA.cc | 55 log.debug("Constructing new HBA (%s)", path.c_str()); in FCHBA() 89 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == in FCHBA() 92 port->getPath().c_str()); in FCHBA() 157 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) { in getHBAAttributes() 223 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) { in doForceLip() 266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) { in npivGetHBAAttributes() 334 if (stat(FCSM_DRIVER_PATH.c_str(), &sb) != 0) { in loadAdapters() 339 FCSM_DRIVER_PATH.c_str(), FCSM_DRIVER_PKG.c_str()); in loadAdapters() 345 FCSM_DRIVER_PATH.c_str(), strerror(errno)); in loadAdapters() 359 if ((fd = open(FCSM_DRIVER_PATH.c_str(), O_RDONLY)) < 0) { in loadAdapters()
|
H A D | Trace.cc | 114 indent[tid].c_str(), in message() 115 routine.c_str(), in message() 116 priString.c_str()); in message() 170 message(STACK_TRACE, msg.c_str()); in stackTrace()
|
H A D | FCHBAPort.cc | 227 snprintf(message, MAX_FCIO_MSG_LEN, "%s", fcioErrorString.c_str()); in transportError() 295 log.genericIOError("\tSense key: %s", msg.c_str()); in reportSense() 386 "target %016llx was %.4f seconds", getPath().c_str(), in sendSCSIPassThru() 397 getPath().c_str(), wwnConversion(fscsi->scsi_fc_pwwn.raw_wwn), in sendSCSIPassThru() 436 log.debug("Initializing HBA port %s", thePath.c_str()); in FCHBAPort() 445 sscanf(path.c_str(), "/dev/cfg/c%d", &controllerNumber); in FCHBAPort() 448 thePath.c_str()); in FCHBAPort() 457 if (stat(path.c_str(), &sbuf) == -1) { in FCHBAPort() 615 strncpy((char *)attributes.OSDeviceName, getPath().c_str(), 256); in getPortAttributes() 798 raw.c_str()); in getTargetMappings() [all …]
|
H A D | HBAList.cc | 110 index = atoi(indexString.c_str()); in openHBA() 149 index = atoi(indexString.c_str()); in openTgtHBA() 186 snprintf(buf, 128, "%s-%d", tmp->getName().c_str(), index); in getHBAName() 212 snprintf(buf, 128, "%s-%d", tmp->getName().c_str(), index); in getTgtHBAName()
|
H A D | FCHBANPIVPort.cc | 59 log.debug("Initializing HBA NPIV port %s", thePath.c_str()); in FCHBANPIVPort() 65 thePath.c_str()); in FCHBANPIVPort() 313 snprintf(message, MAX_FCIO_MSG_LEN, "%s", fcioErrorString.c_str()); in transportError()
|
H A D | HBAPort.cc | 83 if (stat(path.c_str(), &sbuf) == -1) { in validatePresent() 87 log.debug("Unable to stat %s: %s", path.c_str(), in validatePresent() 236 if (strstr(buf, path.c_str())) { in lookupControllerPath()
|
H A D | TgtFCHBAPort.cc | 222 snprintf(message, MAX_FCTIO_MSG_LEN, "%s", fcioErrorString.c_str()); in transportError() 227 log.debug("Initializing HBA port %s", path.c_str()); in TgtFCHBAPort() 260 portwwn = strtoull(portwwnString.c_str(), NULL, 16); in getPortAttributes() 314 portwwn = strtoull(portwwnString.c_str(), NULL, 16); in getDiscoveredAttributes()
|
H A D | HBA.cc | 284 if ((fd = open(path.c_str(), flag)) < 0) { in _open() 286 path.c_str(), errno, strerror(errno)); in _open()
|
H A D | InternalError.cc | 49 log.internalError(message.c_str()); in InternalError()
|
H A D | Sun_fcGetAdapterName.cc | 59 strcpy(name, sname.c_str()); in Sun_fcGetAdapterName()
|
H A D | Sun_fcGetTgtAdapterName.cc | 59 strcpy(name, sname.c_str()); in Sun_fcGetTgtAdapterName()
|
H A D | IOError.cc | 48 log.genericIOError("%s (%s)", message.c_str(), strerror(errno)); in IOError()
|
H A D | HBANPIVPort.cc | 99 if (strstr(buf, path.c_str())) { in lookupControllerPath()
|
H A D | FCSyseventBridge.cc | 499 eventSubClass.c_str()); in dispatch() 505 eventClass.c_str()); in dispatch()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 606 char *c_str; /* unit string */ member 632 value, cunits[i].c_str, value > 1.0 ? "s" : ""); in fmttime() 645 if (strncmp(cunits[i].c_str, units, in unfmttime() 646 strlen(cunits[i].c_str)) == 0) in unfmttime()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_idmap.c | 1363 char *c_str; in nfs_idmap_cache_s2i_insert() local 1375 if ((c_str = utf8_to_str(u8s, &c_len, NULL)) == NULL) in nfs_idmap_cache_s2i_insert() 1388 hashno = pkp_tab_hash(c_str, c_len - 1); in nfs_idmap_cache_s2i_insert() 1419 if (bcmp(p->id_val, c_str, (c_len - 1)) == 0) { in nfs_idmap_cache_s2i_insert() 1428 kmem_free(c_str, c_len); in nfs_idmap_cache_s2i_insert() 1446 kmem_free(c_str, c_len); in nfs_idmap_cache_s2i_insert()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 345 char *c_str; /* unit string */ in fmttime() member 364 (double)time / cunits[i].c_secs, cunits[i].c_str); in fmttime()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 586 char *c_str; /* unit string */ in fmttime() member 605 (double)time/cunits[i].c_secs, cunits[i].c_str); in fmttime()
|