Home
last modified time | relevance | path

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

/freebsd-12.1/cddl/usr.sbin/zfsd/
H A Dvdev.cc81 Vdev::Vdev() in Vdev() function in Vdev
106 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) in Vdev() function in Vdev
115 Vdev::Vdev(nvlist_t *poolConfig, nvlist_t *config) in Vdev() function in Vdev
124 Vdev::Vdev(nvlist_t *labelConfig) in Vdev() function in Vdev
200 std::list<Vdev>
201 Vdev::Children() in Children()
222 Vdev
223 Vdev::RootVdev() in RootVdev()
241 Vdev
242 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.cc208 Vdev vdev(devLabel); in ReadLabel()
237 Vdev vdev(devConfig); in OnlineByLabel()
351 Vdev vdev(zpl.front(), vdevConfig); in Process()
441 ZfsEvent::TryDetach(Vdev &vdev, void *cbArg) in TryDetach()
451 std::list<Vdev> siblings; in TryDetach()
452 std::list<Vdev>::iterator siblings_it; in TryDetach()
455 Vdev parent = vdev.Parent(); in TryDetach()
462 Vdev sibling = *siblings_it; in TryDetach()
H A Dcase_file.cc155 CaseFile::Create(Vdev &vdev) in Create()
228 Vdev vd(casePool, CaseVdev(casePool)); in RefreshVdevState()
789 CaseFile::CaseFile(const Vdev &vdev) in CaseFile()
1010 Vdev
1012 Vdev vd(zhp, CaseVdev(zhp)); in BeingReplacedBy()
1013 std::list<Vdev> children; in BeingReplacedBy()
1016 Vdev parent(vd.Parent()); in BeingReplacedBy()
1017 Vdev replacing(NonexistentVdev); in BeingReplacedBy()
1035 Vdev child = *children_it; in BeingReplacedBy()
1068 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.cc120 Vdev vdev(m_poolConfig, m_vdevConfig); in Log()
124 Vdev vdev(m_vdevConfig); in Log()
H A Dvdev_iterator.cc142 Vdev vdev(m_poolConfig, vdevConfig); in Each()
156 Vdev vdev(m_poolConfig, vdevConfig); in Find()
H A Dzpool_list.h59 class Vdev; variable
H A Dzfsd.cc204 ZfsDaemon::VdevAddCaseFile(Vdev &vdev, void *cbArg) in VdevAddCaseFile()
/freebsd-12.1/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc129 class MockVdev : public Vdev
142 : Vdev(vdevConfig) in MockVdev()
152 static TestableCaseFile &Create(Vdev &vdev);
153 TestableCaseFile(Vdev &vdev);
188 TestableCaseFile::Create(Vdev &vdev) in Create()
314 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
323 Vdev vdev(m_poolConfig, m_vdevConfig); in TEST_F()
342 EXPECT_NO_THROW(Vdev vdev(labelConfig)); in TEST_F()
357 Vdev vdev(labelConfig); in TEST_F()
365 Vdev notSpare(m_poolConfig, m_vdevConfig); in TEST_F()
[all …]