Home
last modified time | relevance | path

Searched refs:c_str (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/lib/sun_fc/common/
H A DTgtFCHBA.cc57 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 DFCHBA.cc55 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 DTrace.cc114 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 DHBAList.cc110 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 DFCHBAPort.cc225 snprintf(message, MAX_FCIO_MSG_LEN, "%s", fcioErrorString.c_str()); in transportError()
293 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 DFCHBANPIVPort.cc59 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 DHBAPort.cc83 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 DTgtFCHBAPort.cc222 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 DInternalError.cc49 log.internalError(message.c_str()); in InternalError()
H A DHBA.cc284 if ((fd = open(path.c_str(), flag)) < 0) { in _open()
286 path.c_str(), errno, strerror(errno)); in _open()
H A DSun_fcGetAdapterName.cc59 strcpy(name, sname.c_str()); in Sun_fcGetAdapterName()
H A DSun_fcGetTgtAdapterName.cc59 strcpy(name, sname.c_str()); in Sun_fcGetTgtAdapterName()
H A DIOError.cc48 log.genericIOError("%s (%s)", message.c_str(), strerror(errno)); in IOError()
H A DHBANPIVPort.cc99 if (strstr(buf, path.c_str())) { in lookupControllerPath()
H A DFCSyseventBridge.cc499 eventSubClass.c_str()); in dispatch()
505 eventClass.c_str()); in dispatch()
/titanic_41/usr/src/cmd/lms/
H A DProtocol.cpp895 sRMsg->ServiceName.c_str());
1076 tcpFwdReqMsg->Address.c_str(),
1143 _updateIPFQDN(tcpFwdReqMsg->Address.c_str());
1161 tcpFwdCnclMsg->Address.c_str(), tcpFwdCnclMsg->Port);
1184 tcpFwdCnclMsg->Address.c_str(), tcpFwdCnclMsg->Port);
1193 SOCKET s = ATNetworkTool::Connect(udpSendToMessage->Address.c_str(),
1246 chOpenMsg->Address.c_str(), chOpenMsg->Port);
1248 SOCKET s = ATNetworkTool::Connect(chOpenMsg->Address.c_str(),
1253 chOpenMsg->Address.c_str());
1394 if (strnicmp(suffix.c_str() + suffix.size()-AMTDNSSuffix.size(),
[all …]
H A DLMEConnection.cpp183 memcpy(pCurrent, serviceName.c_str(), serviceName.size()); in ServiceAccept()
186 PRINT("Sending service accept to LME: %s\n", serviceName.c_str()); in ServiceAccept()
342 memcpy(pCurrent, originatorIP.c_str(), originatorIP.size()); in ChannelOpenForwardedRequest()
349 originatorIP.c_str(), connectedPort); in ChannelOpenForwardedRequest()
1012 if (_strnicmp(userAuthRequest.MethodName.c_str(), APF_AUTH_PASSWORD, in _apfUserAuthRequest()
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp427 return ATNetworkTool::CreateServerSocket(ssport.str().c_str(), in CreateServerSocket()
465 return ATNetworkTool::CreateServerSockets(sockets, ssport.str().c_str(), in CreateServerSockets()
580 return ATNetworkTool::Connect(host, ssport.str().c_str(), error, in Connect()
649 return ATNetworkTool::ConnectLoopback(ssport.str().c_str(), error, in ConnectLoopback()
H A DATVersion.cpp98 FILE *fp = popen((cmd + " " AT_VERSION_ARGUMENT " 2>/dev/null").c_str(), "r"); in GetProcessVersion()
/titanic_41/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c607 char *c_str; /* unit string */ member
633 value, cunits[i].c_str, value > 1.0 ? "s" : ""); in fmttime()
646 if (strncmp(cunits[i].c_str, units, in unfmttime()
647 strlen(cunits[i].c_str)) == 0) in unfmttime()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_idmap.c1357 char *c_str; in nfs_idmap_cache_s2i_insert() local
1369 if ((c_str = utf8_to_str(u8s, &c_len, NULL)) == NULL) in nfs_idmap_cache_s2i_insert()
1382 hashno = pkp_tab_hash(c_str, c_len - 1); in nfs_idmap_cache_s2i_insert()
1413 if (bcmp(p->id_val, c_str, (c_len - 1)) == 0) { in nfs_idmap_cache_s2i_insert()
1422 kmem_free(c_str, c_len); in nfs_idmap_cache_s2i_insert()
1440 kmem_free(c_str, c_len); in nfs_idmap_cache_s2i_insert()
/titanic_41/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c347 char *c_str; /* unit string */ in fmttime() member
366 (double)time / cunits[i].c_secs, cunits[i].c_str); in fmttime()
/titanic_41/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c586 char *c_str; /* unit string */ in fmttime() member
605 (double)time/cunits[i].c_secs, cunits[i].c_str); in fmttime()