Home
last modified time | relevance | path

Searched refs:Vdev (Results 1 – 11 of 11) sorted by relevance

/freebsd-14.2/cddl/usr.sbin/zfsd/
H A Dvdev.cc78 Vdev::Vdev() in Vdev() function in Vdev
103 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev() function in Vdev
112 Vdev::Vdev(nvlist_t *poolConfig, nvlist_t *config) in Vdev() function in Vdev
121 Vdev::Vdev(nvlist_t *labelConfig) in Vdev() function in Vdev
197 std::list<Vdev>
198 Vdev::Children() in Children()
219 Vdev
220 Vdev::RootVdev() in RootVdev()
238 Vdev
239 Vdev::Parent() in Parent()
[all …]
H A Dvdev.h61 class Vdev
108 Vdev();
114 virtual ~Vdev();
131 Vdev Parent();
132 Vdev RootVdev();
152 inline Vdev::~Vdev() in ~Vdev()
157 Vdev::PoolGUID() const in PoolGUID()
163 Vdev::GUID() const in GUID()
169 Vdev::PoolConfig() const in PoolConfig()
175 Vdev::Config() const in Config()
[all …]
H A Dcase_file.h51 class Vdev; variable
140 static CaseFile &Create(Vdev &vdev);
188 Vdev *vdev);
285 CaseFile(const Vdev &vdev);
379 Vdev BeingReplacedBy(zpool_handle_t *zhp);
H A Dzfsd_event.cc209 Vdev vdev(devLabel); in ReadLabel()
240 Vdev vdev(devConfig); in OnlineByLabel()
356 Vdev vdev(zpl.front(), vdevConfig); in Process()
446 ZfsEvent::TryDetach(Vdev &vdev, void *cbArg) in TryDetach()
456 std::list<Vdev> siblings; in TryDetach()
457 std::list<Vdev>::iterator siblings_it; in TryDetach()
460 Vdev parent = vdev.Parent(); in TryDetach()
467 Vdev sibling = *siblings_it; in TryDetach()
H A Dcase_file.cc173 CaseFile::Create(Vdev &vdev) in Create()
252 Vdev vd(casePool, CaseVdev(casePool)); in RefreshVdevState()
856 CaseFile::CaseFile(const Vdev &vdev) in CaseFile()
1082 Vdev
1084 Vdev vd(zhp, CaseVdev(zhp)); in BeingReplacedBy()
1085 std::list<Vdev> children; in BeingReplacedBy()
1088 Vdev parent(vd.Parent()); in BeingReplacedBy()
1089 Vdev replacing(NonexistentVdev); in BeingReplacedBy()
1107 Vdev child = *children_it; in BeingReplacedBy()
1140 Vdev vd(zhp, CaseVdev(zhp)); in Replace()
[all …]
H A Dvdev_iterator.h52 class Vdev; variable
56 typedef bool VdevCallback_t(Vdev &vdev, void *cbArg);
H A Dzfsd_exception.cc119 Vdev vdev(m_poolConfig, m_vdevConfig); in Log()
123 Vdev vdev(m_vdevConfig); in Log()
H A Dvdev_iterator.cc147 Vdev vdev(m_poolConfig, vdevConfig); in Each()
161 Vdev vdev(m_poolConfig, vdevConfig); in Find()
H A Dzpool_list.h57 class Vdev; variable
H A Dzfsd.cc203 ZfsDaemon::VdevAddCaseFile(Vdev &vdev, void *cbArg) in VdevAddCaseFile()
/freebsd-14.2/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc127 class MockVdev : public Vdev
141 : Vdev(vdevConfig) in MockVdev()
151 static TestableCaseFile &Create(Vdev &vdev);
152 TestableCaseFile(Vdev &vdev);
187 TestableCaseFile::Create(Vdev &vdev) in Create()
313 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
322 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
341 EXPECT_NO_THROW(Vdev vdev(labelConfig)); in TEST_F()
356 Vdev vdev(labelConfig); in TEST_F()
364 Vdev notSpare(m_poolConfig, m_vdevConfig); in TEST_F()
[all …]