Home
last modified time | relevance | path

Searched refs:estoraged (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/estoraged/src/test/
H A Dutil_test.cpp16 using estoraged::util::findPredictedMediaLifeLeftPercent;
17 using estoraged::util::getPartNumber;
18 using estoraged::util::getSerialNumber;
105 estoraged::StorageData data; in TEST()
109 estoraged::BasicVariantType("EmmcDevice")); in TEST()
110 data.emplace(std::string("Name"), estoraged::BasicVariantType("emmc")); in TEST()
112 estoraged::BasicVariantType("U102020")); in TEST()
136 estoraged::util::findDevice(data, std::filesystem::path("./")); in TEST()
159 estoraged::StorageData data; in TEST()
163 estoraged::BasicVariantType("EmmcDevice")); in TEST()
[all …]
/openbmc/estoraged/src/
H A Dmain.cpp37 std::string, std::unique_ptr<estoraged::EStoraged>>& storageObjects, in createStorageObjects()
40 auto getter = std::make_shared<estoraged::GetStorageConfiguration>( in createStorageObjects()
43 const estoraged::ManagedStorageType& storageConfigurations) { in createStorageObjects()
55 estoraged::StorageData>& storage : in createStorageObjects()
70 const estoraged::StorageData& data = storage.second; in createStorageObjects()
75 estoraged::util::findDevice(data, blockDevDir); in createStorageObjects()
100 estoraged::util::findSizeOfBlockDevice(deviceFile); in createStorageObjects()
103 estoraged::util::findPredictedMediaLifeLeftPercent( in createStorageObjects()
106 estoraged::util::getPartNumber(sysfsDir); in createStorageObjects()
108 estoraged::util::getSerialNumber(sysfsDir); in createStorageObjects()
[all …]
H A Dutil.cpp20 namespace estoraged namespace
151 estoraged::BasicVariantType typeVariant; in findDevice()
H A Dmeson.build29 'estoraged.cpp',
H A DgetConfig.cpp16 namespace estoraged namespace
/openbmc/estoraged/src/test/erase/
H A Dsanitize_test.cpp23 class IOCTLWrapperMock : public estoraged::IOCTLWrapperInterface
33 struct estoraged::mmc_io_multi_cmd_erase),
43 estoraged::Sanitize goodSanitize("/dev/null", std::move(mockIOCTL)); in TEST()
55 estoraged::Sanitize emptySanitize("", std::move(mockIOCTL)); in TEST()
66 estoraged::Sanitize ioctlSanitize("/dev/null", std::move(mockIOCTL)); in TEST()
H A DverifyGeometry_test.cpp12 using estoraged::VerifyDriveGeometry;
/openbmc/estoraged/include/
H A DcryptErase.hpp11 namespace estoraged namespace
24 std::unique_ptr<estoraged::CryptsetupInterface> inCryptIface =
33 std::unique_ptr<estoraged::CryptsetupInterface> cryptIface;
H A Destoraged.hpp23 namespace estoraged namespace
25 using estoraged::Cryptsetup;
26 using estoraged::Filesystem;
H A Derase.hpp4 namespace estoraged namespace
H A DverifyDriveGeometry.hpp8 namespace estoraged namespace
H A Dzero.hpp11 namespace estoraged namespace
H A Dpattern.hpp13 namespace estoraged namespace
H A DgetConfig.hpp10 namespace estoraged namespace
H A Dutil.hpp8 namespace estoraged namespace
H A Dsanitize.hpp17 namespace estoraged namespace
H A DfilesystemInterface.hpp8 namespace estoraged namespace
/openbmc/estoraged/src/erase/
H A DcryptoErase.cpp14 namespace estoraged namespace
21 std::unique_ptr<estoraged::CryptsetupInterface> inCryptIface) : in CryptErase()
H A DverifyDriveGeometry.cpp8 namespace estoraged namespace
H A Dzero.cpp17 namespace estoraged namespace
H A Dpattern.cpp20 namespace estoraged namespace
H A Dsanitize.cpp51 namespace estoraged namespace
/openbmc/estoraged/src/test/include/
H A Destoraged_test.hpp19 class MockFilesystemInterface : public estoraged::FilesystemInterface
43 class MockCryptsetupInterface : public estoraged::CryptsetupInterface
/openbmc/openbmc/meta-phosphor/recipes-phosphor/storage/
H A Destoraged_git.bb16 SRC_URI = "git://github.com/openbmc/estoraged.git;branch=master;protocol=https"
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/image/
H A Dobmc-phosphor-image.bbappend33 OBMC_IMAGE_EXTRA_INSTALL:append:mori = " estoraged"

12