Home
last modified time | relevance | path

Searched refs:IsSpare (Results 1 – 6 of 6) sorted by relevance

/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev.h123 bool IsSpare() const;
134 bool IsSpare();
H A Dvdev.cc146 Vdev::IsSpare() const in IsSpare() function in Vdev
276 Vdev::IsSpare() in IsSpare() function in Vdev
H A Dcase_file.cc130 if (!(*curCase)->IsSpare()) { in Find()
238 CaseFile::IsSpare() in IsSpare() function in CaseFile
308 if (IsSpare()) in ReEvaluate()
861 m_is_spare(vdev.IsSpare()) in CaseFile()
1143 if (isspare && !vd.IsSpare() && !replaced.DoesNotExist()) { in Replace()
H A Dzfsd_event.cc455 if (vdev.IsSpare()) { in TryDetach()
469 if (!sibling.IsSpare() && in TryDetach()
H A Dcase_file.h236 int IsSpare();
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc366 TEST_F(VdevTest, IsSpare) { in TEST_F() argument
368 EXPECT_EQ(false, notSpare.IsSpare()); in TEST_F()
372 EXPECT_EQ(true, isSpare.IsSpare()); in TEST_F()