Searched refs:devPath (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/cddl/usr.sbin/zfsd/ |
| H A D | zfsd_event.cc | 118 string devPath; in Process() local 119 if (!DevPath(devPath)) in Process() 122 int devFd(open(devPath.c_str(), O_RDONLY)); in Process() 138 OnlineByLabel(devPath, physPath, devLabel); in Process() 156 caseFile->ReEvaluate(devPath, physPath, /*vdev*/NULL); in Process() 213 string devPath = _PATH_DEV + devName; in ReadLabel() local 215 + devPath + ": "); in ReadLabel() 226 GeomEvent::OnlineByLabel(const string &devPath, const string& physPath, in OnlineByLabel() argument 236 devPath.c_str()); in OnlineByLabel() 241 return (caseFile->ReEvaluate(devPath, physPath, &vdev)); in OnlineByLabel() [all …]
|
| H A D | case_file.cc | 238 CaseFile::ReEvaluate(const string &devPath, const string &physPath, Vdev *vdev) in ReEvaluate() argument 289 devPath.c_str(), in ReEvaluate() 341 if (zpool_label_disk(g_zfsHandle, pool, devPath.c_str(), in ReEvaluate() 353 devPath.c_str()); in ReEvaluate() 354 return (Replace(VDEV_TYPE_DISK, devPath.c_str(), /*isspare*/false)); in ReEvaluate() 492 char *devPath, *vdev_type; in ActivateSpare() local 568 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_PATH, &devPath); in ActivateSpare() 584 return (Replace(vdev_type, devPath, /*isspare*/true)); in ActivateSpare()
|
| H A D | zfsd_event.h | 125 static bool OnlineByLabel(const string &devPath,
|
| H A D | case_file.h | 176 bool ReEvaluate(const string &devPath, const string &physPath,
|
| /freebsd-12.1/lib/libdevdctl/ |
| H A D | event.cc | 285 string devPath(_PATH_DEV + devName); in DevPath() local 286 int devFd(open(devPath.c_str(), O_RDONLY)); in DevPath() 302 string devPath; in PhysicalPath() local 304 if (!DevPath(devPath)) in PhysicalPath() 307 int devFd(open(devPath.c_str(), O_RDONLY)); in PhysicalPath()
|