Searched refs:devPath (Results 1 - 5 of 5) sorted by relevance
/freebsd-13-stable/cddl/usr.sbin/zfsd/ |
H A D | zfsd_event.cc | 120 string devPath; local 121 if (!DevPath(devPath)) 124 int devFd(open(devPath.c_str(), O_RDONLY)); 140 OnlineByLabel(devPath, physPath, devLabel); 158 caseFile->ReEvaluate(devPath, physPath, /*vdev*/NULL); 216 string devPath = _PATH_DEV + devName; 218 + devPath + ": "); 229 GeomEvent::OnlineByLabel(const string &devPath, const string& physPath, argument 239 devPath.c_str()); 244 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 | 239 CaseFile::ReEvaluate(const string &devPath, const string &physPath, Vdev *vdev) argument 288 devPath.c_str(), 335 if (zpool_label_disk(g_zfsHandle, pool, devPath.c_str()) != 0) { 346 devPath.c_str()); 347 return (Replace(VDEV_TYPE_DISK, devPath.c_str(), /*isspare*/false)); 485 char *devPath, *vdev_type; local 561 error = nvlist_lookup_string(spares[i], ZPOOL_CONFIG_PATH, &devPath); 577 return (Replace(vdev_type, devPath, /*isspare*/true));
|
/freebsd-13-stable/lib/libdevdctl/ |
H A D | event.cc | 286 string devPath(_PATH_DEV + devName); 287 int devFd(open(devPath.c_str(), O_RDONLY)); 307 string devPath; local 309 if (!DevPath(devPath)) 312 int devFd(open(devPath.c_str(), O_RDONLY));
|
Completed in 116 milliseconds