Home
last modified time | relevance | path

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

/freebsd-13.1/cddl/usr.sbin/zfsd/
H A Dvdev.cc82 Vdev::Vdev() in Vdev() function in Vdev
107 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev() function in Vdev
116 Vdev::Vdev(nvlist_t *poolConfig, nvlist_t *config) in Vdev() function in Vdev
125 Vdev::Vdev(nvlist_t *labelConfig) in Vdev() function in Vdev
201 std::list<Vdev>
202 Vdev::Children() in Children()
223 Vdev
224 Vdev::RootVdev() in RootVdev()
242 Vdev
243 Vdev::Parent() in Parent()
[all …]
H A Dvdev.h63 class Vdev
110 Vdev();
116 virtual ~Vdev();
133 Vdev Parent();
134 Vdev RootVdev();
154 inline Vdev::~Vdev() in ~Vdev()
159 Vdev::PoolGUID() const in PoolGUID()
165 Vdev::GUID() const in GUID()
171 Vdev::PoolConfig() const in PoolConfig()
177 Vdev::Config() const in Config()
[all …]
H A Dcase_file.h53 class Vdev; variable
129 static CaseFile &Create(Vdev &vdev);
177 Vdev *vdev);
256 CaseFile(const Vdev &vdev);
350 Vdev BeingReplacedBy(zpool_handle_t *zhp);
H A Dzfsd_event.cc211 Vdev vdev(devLabel); in ReadLabel()
240 Vdev vdev(devConfig); in OnlineByLabel()
354 Vdev vdev(zpl.front(), vdevConfig); in Process()
444 ZfsEvent::TryDetach(Vdev &vdev, void *cbArg) in TryDetach()
454 std::list<Vdev> siblings; in TryDetach()
455 std::list<Vdev>::iterator siblings_it; in TryDetach()
458 Vdev parent = vdev.Parent(); in TryDetach()
465 Vdev sibling = *siblings_it; in TryDetach()
H A Dcase_file.cc156 CaseFile::Create(Vdev &vdev) in Create()
229 Vdev vd(casePool, CaseVdev(casePool)); in RefreshVdevState()
790 CaseFile::CaseFile(const Vdev &vdev) in CaseFile()
1011 Vdev
1013 Vdev vd(zhp, CaseVdev(zhp)); in BeingReplacedBy()
1014 std::list<Vdev> children; in BeingReplacedBy()
1017 Vdev parent(vd.Parent()); in BeingReplacedBy()
1018 Vdev replacing(NonexistentVdev); in BeingReplacedBy()
1036 Vdev child = *children_it; in BeingReplacedBy()
1069 Vdev vd(zhp, CaseVdev(zhp)); in Replace()
[all …]
H A Dvdev_iterator.h54 class Vdev; variable
58 typedef bool VdevCallback_t(Vdev &vdev, void *cbArg);
H A Dzfsd_exception.cc121 Vdev vdev(m_poolConfig, m_vdevConfig); in Log()
125 Vdev vdev(m_vdevConfig); in Log()
H A Dvdev_iterator.cc143 Vdev vdev(m_poolConfig, vdevConfig); in Each()
157 Vdev vdev(m_poolConfig, vdevConfig); in Find()
H A Dzpool_list.h59 class Vdev; variable
H A Dzfsd.cc206 ZfsDaemon::VdevAddCaseFile(Vdev &vdev, void *cbArg) in VdevAddCaseFile()
/freebsd-13.1/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc130 class MockVdev : public Vdev
143 : Vdev(vdevConfig) in MockVdev()
153 static TestableCaseFile &Create(Vdev &vdev);
154 TestableCaseFile(Vdev &vdev);
189 TestableCaseFile::Create(Vdev &vdev) in Create()
315 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
324 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
343 EXPECT_NO_THROW(Vdev vdev(labelConfig)); in TEST_F()
358 Vdev vdev(labelConfig); in TEST_F()
366 Vdev notSpare(m_poolConfig, m_vdevConfig); in TEST_F()
[all …]