Lines Matching refs:c_str

151 			    physPath.c_str());  in Find()
189 int numCaseFiles(scandir(s_caseFilePath.c_str(), &caseFiles, in DeSerialize()
280 PoolGUIDString().c_str(), in ReEvaluate()
281 VdevGUIDString().c_str()); in ReEvaluate()
299 PoolGUIDString().c_str(), VdevGUIDString().c_str()); in ReEvaluate()
310 if (zpool_vdev_online(pool, vdev->GUIDString().c_str(), in ReEvaluate()
314 zpool_get_name(pool), vdev->GUIDString().c_str(), in ReEvaluate()
315 devPath.c_str(), libzfs_error_action(g_zfsHandle), in ReEvaluate()
321 zpool_get_name(pool), vdev->GUIDString().c_str(), in ReEvaluate()
322 devPath.c_str(), in ReEvaluate()
342 PoolGUIDString().c_str(), in ReEvaluate()
343 VdevGUIDString().c_str(), in ReEvaluate()
352 PoolGUIDString().c_str(), in ReEvaluate()
353 VdevGUIDString().c_str(), in ReEvaluate()
362 PoolGUIDString().c_str(), in ReEvaluate()
363 VdevGUIDString().c_str(), in ReEvaluate()
369 if (zpool_label_disk(g_zfsHandle, pool, devPath.c_str()) != 0) { in ReEvaluate()
372 zpool_get_name(pool), VdevGUIDString().c_str(), in ReEvaluate()
379 PoolGUIDString().c_str(), VdevGUIDString().c_str(), in ReEvaluate()
380 devPath.c_str()); in ReEvaluate()
381 return (Replace(VDEV_TYPE_DISK, devPath.c_str(), /*isspare*/false)); in ReEvaluate()
423 PoolGUIDString().c_str(), in ReEvaluate()
424 VdevGUIDString().c_str()); in ReEvaluate()
734 syslog(LOG_INFO, "CaseFile(%s,%s,%s)\n", PoolGUIDString().c_str(), in Log()
735 VdevGUIDString().c_str(), PhysicalPath().c_str()); in Log()
818 unlink(fullName.c_str()); in DeSerializeFile()
830 ifstream caseStream(fullName.c_str()); in DeSerializeFile()
922 write(fd, eventString.c_str(), eventString.length()); in SerializeEvList()
938 unlink(saveFile.str().c_str()); in Serialize()
942 int fd(open(saveFile.str().c_str(), O_CREAT|O_TRUNC|O_WRONLY, 0644)); in Serialize()
945 saveFile.str().c_str()); in Serialize()
1004 PoolGUIDString().c_str(), VdevGUIDString().c_str(), in Close()
1048 PoolGUIDString().c_str(), in OnGracePeriodEnded()
1049 VdevGUIDString().c_str()); in OnGracePeriodEnded()
1055 PoolGUIDString().c_str(), in OnGracePeriodEnded()
1056 VdevGUIDString().c_str(), in OnGracePeriodEnded()
1066 PoolGUIDString().c_str(), in OnGracePeriodEnded()
1067 VdevGUIDString().c_str()); in OnGracePeriodEnded()
1073 PoolGUIDString().c_str(), in OnGracePeriodEnded()
1074 VdevGUIDString().c_str(), in OnGracePeriodEnded()
1148 "replaced", VdevGUIDString().c_str(), path); in Replace()
1157 "broken spare %s instead", VdevGUIDString().c_str(), in Replace()
1158 path, oldstr.c_str()); in Replace()
1172 "configuration data.", poolname, oldstr.c_str()); in Replace()
1183 "configuration data.", poolname, oldstr.c_str()); in Replace()
1192 retval = (zpool_vdev_attach(zhp, oldstr.c_str(), path, nvroot, in Replace()
1196 poolname, oldstr.c_str(), path); in Replace()
1199 poolname, oldstr.c_str(), libzfs_error_action(g_zfsHandle), in Replace()
1217 if (zhp == NULL || zpool_get_vdev_prop(zhp, m_vdevName.c_str(), in GetVdevProp()