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

/illumos-gate/usr/src/lib/sun_fc/common/
H A DInternalError.cc49 log.internalError(message.c_str());
H A DSun_fcGetAdapterName.cc59 strcpy(name, sname.c_str());
H A DSun_fcGetTgtAdapterName.cc59 strcpy(name, sname.c_str());
H A DTrace.cc114 indent[tid].c_str(),
115 routine.c_str(),
116 priString.c_str());
170 message(STACK_TRACE, msg.c_str());
H A DTgtFCHBA.cc57 log.debug("Constructing new Target mode HBA (%s)", path.c_str());
73 "Failed to get HBA attribute for %s", path.c_str());
97 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) {
115 portwwn = strtoull(portwwnString.c_str(), NULL, 16);
173 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) {
190 portwwn = strtoull(portwwnString.c_str(), NULL, 16);
235 if (stat(FCT_DRIVER_PATH.c_str(), &sb) != 0) {
240 FCT_DRIVER_PATH.c_str(), FCT_DRIVER_PKG.c_str());
246 FCT_DRIVER_PATH.c_str(), strerro
[all...]
H A DFCHBA.cc55 log.debug("Constructing new HBA (%s)", path.c_str());
89 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) ==
92 port->getPath().c_str());
157 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
223 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) {
266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) {
334 if (stat(FCSM_DRIVER_PATH.c_str(), &sb) != 0) {
339 FCSM_DRIVER_PATH.c_str(), FCSM_DRIVER_PKG.c_str());
345 FCSM_DRIVER_PATH.c_str(), strerro
[all...]
H A DHBAList.cc110 index = atoi(indexString.c_str());
149 index = atoi(indexString.c_str());
186 snprintf(buf, 128, "%s-%d", tmp->getName().c_str(), index);
212 snprintf(buf, 128, "%s-%d", tmp->getName().c_str(), index);
H A DHBANPIVPort.cc99 if (strstr(buf, path.c_str())) {
H A DIOError.cc48 log.genericIOError("%s (%s)", message.c_str(), strerror(errno));
H A DHBA.cc284 if ((fd = open(path.c_str(), flag)) < 0) {
286 path.c_str(), errno, strerror(errno));
H A DFCHBANPIVPort.cc59 log.debug("Initializing HBA NPIV port %s", thePath.c_str());
65 thePath.c_str());
313 snprintf(message, MAX_FCIO_MSG_LEN, "%s", fcioErrorString.c_str());
H A DHBAPort.cc83 if (stat(path.c_str(), &sbuf) == -1) {
87 log.debug("Unable to stat %s: %s", path.c_str(),
236 if (strstr(buf, path.c_str())) {
H A DFCHBAPort.cc225 snprintf(message, MAX_FCIO_MSG_LEN, "%s", fcioErrorString.c_str());
293 log.genericIOError("\tSense key: %s", msg.c_str());
386 "target %016llx was %.4f seconds", getPath().c_str(),
397 getPath().c_str(), wwnConversion(fscsi->scsi_fc_pwwn.raw_wwn),
436 log.debug("Initializing HBA port %s", thePath.c_str());
445 sscanf(path.c_str(), "/dev/cfg/c%d", &controllerNumber);
448 thePath.c_str());
457 if (stat(path.c_str(), &sbuf) == -1) {
615 strncpy((char *)attributes.OSDeviceName, getPath().c_str(), 256);
798 raw.c_str());
[all...]
H A DTgtFCHBAPort.cc222 snprintf(message, MAX_FCTIO_MSG_LEN, "%s", fcioErrorString.c_str());
227 log.debug("Initializing HBA port %s", path.c_str());
260 portwwn = strtoull(portwwnString.c_str(), NULL, 16);
314 portwwn = strtoull(portwwnString.c_str(), NULL, 16);
H A DFCSyseventBridge.cc499 eventSubClass.c_str());
505 eventClass.c_str());
/illumos-gate/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()
[all...]
H A DLMEConnection.cpp183 memcpy(pCurrent, serviceName.c_str(), serviceName.size());
186 PRINT("Sending service accept to LME: %s\n", serviceName.c_str());
342 memcpy(pCurrent, originatorIP.c_str(), originatorIP.size());
349 originatorIP.c_str(), connectedPort);
1012 if (_strnicmp(userAuthRequest.MethodName.c_str(), APF_AUTH_PASSWORD,
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c607 char *c_str; /* unit string */ member in struct:__anon547
633 value, cunits[i].c_str, value > 1.0 ? "s" : "");
646 if (strncmp(cunits[i].c_str, units,
647 strlen(cunits[i].c_str)) == 0)
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp427 return ATNetworkTool::CreateServerSocket(ssport.str().c_str(),
465 return ATNetworkTool::CreateServerSockets(sockets, ssport.str().c_str(),
580 return ATNetworkTool::Connect(host, ssport.str().c_str(), error,
649 return ATNetworkTool::ConnectLoopback(ssport.str().c_str(), error,
H A DATVersion.cpp98 FILE *fp = popen((cmd + " " AT_VERSION_ARGUMENT " 2>/dev/null").c_str(), "r");
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_idmap.c1357 char *c_str; local
1369 if ((c_str = utf8_to_str(u8s, &c_len, NULL)) == NULL)
1382 hashno = pkp_tab_hash(c_str, c_len - 1);
1413 if (bcmp(p->id_val, c_str, (c_len - 1)) == 0) {
1422 kmem_free(c_str, c_len);
1440 kmem_free(c_str, c_len);
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c347 char *c_str; /* unit string */ member in struct:__anon562
366 (double)time / cunits[i].c_secs, cunits[i].c_str);
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c586 char *c_str; /* unit string */ member in struct:__anon560
605 (double)time/cunits[i].c_secs, cunits[i].c_str);

Completed in 106 milliseconds