Home
last modified time | relevance | path

Searched refs:sysfsDir (Results 1 – 4 of 4) sorted by relevance

/openbmc/estoraged/include/
H A Dutil.hpp16 std::filesystem::path sysfsDir; member
25 std::filesystem::path& sysfsDir, std::string& luksName, in DeviceInfo()
29 deviceFile(deviceFile), sysfsDir(sysfsDir), luksName(luksName), in DeviceInfo()
/openbmc/estoraged/src/
H A Dmain.cpp92 std::filesystem::path sysfsDir = in createStorageObjects() local
93 std::move(deviceInfo->sysfsDir); in createStorageObjects()
104 sysfsDir); in createStorageObjects()
106 estoraged::util::getPartNumber(sysfsDir); in createStorageObjects()
108 estoraged::util::getSerialNumber(sysfsDir); in createStorageObjects()
H A Dutil.cpp252 std::filesystem::path sysfsDir = dirEntry.path(); in findDevice() local
253 sysfsDir /= "device"; in findDevice()
259 return DeviceInfo{deviceFile, sysfsDir, in findDevice()
/openbmc/estoraged/src/test/
H A Dutil_test.cpp133 std::filesystem::path deviceFile, sysfsDir; in TEST() local
141 EXPECT_EQ("./mmcblk0/device", result->sysfsDir.string()); in TEST()
191 std::filesystem::path deviceFile, sysfsDir; in TEST() local
199 EXPECT_EQ("./mmcblk0/device", result->sysfsDir.string()); in TEST()