Searched refs:devPath (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_event.cc | 118 string devPath; local 119 if (!DevPath(devPath)) 122 int devFd(open(devPath.c_str(), O_RDONLY)); 138 OnlineByLabel(devPath, physPath, devLabel); 156 caseFile->ReEvaluate(devPath, physPath, /*vdev*/NULL); 213 string devPath = _PATH_DEV + devName; 215 + devPath + ": "); 226 GeomEvent::OnlineByLabel(const string &devPath, const string& physPath, argument 236 devPath.c_str()); 241 return (caseFile->ReEvaluate(devPath, physPat [all...] |
H A D | zfsd_event.h | 112 * Attempt to match the ZFS labeled device at devPath with an active 116 * \param devPath The devfs path to the potential leaf vdev. 118 * at devPath. 120 * at devPath. 125 static bool OnlineByLabel(const string &devPath,
|
H A D | case_file.h | 167 * \param devPath The devfs path for the disk resource. 176 bool ReEvaluate(const string &devPath, const string &physPath,
|
H A D | case_file.cc | 238 CaseFile::ReEvaluate(const string &devPath, const string &physPath, Vdev *vdev) argument 289 devPath.c_str(), 341 if (zpool_label_disk(g_zfsHandle, pool, devPath.c_str(), 353 devPath.c_str()); 354 return (Replace(VDEV_TYPE_DISK, devPath.c_str(), /*isspare*/false)); 492 char *devPath, *vdev_type; local 568 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_PATH, &devPath); 584 return (Replace(vdev_type, devPath, /*isspare*/true));
|
/freebsd-11-stable/lib/libdevdctl/ |
H A D | event.cc | 285 string devPath(_PATH_DEV + devName); 286 int devFd(open(devPath.c_str(), O_RDONLY)); 302 string devPath; local 304 if (!DevPath(devPath)) 307 int devFd(open(devPath.c_str(), O_RDONLY));
|
Completed in 175 milliseconds