Home
last modified time | relevance | path

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

/openbmc/estoraged/include/
H A Dutil.hpp15 std::filesystem::path deviceFile; member
24 DeviceInfo(std::filesystem::path& deviceFile, in DeviceInfo()
29 deviceFile(deviceFile), sysfsDir(sysfsDir), luksName(luksName), in DeviceInfo()
/openbmc/estoraged/src/
H A Dmain.cpp90 std::filesystem::path deviceFile = in createStorageObjects() local
91 std::move(deviceInfo->deviceFile); in createStorageObjects()
100 estoraged::util::findSizeOfBlockDevice(deviceFile); in createStorageObjects()
116 deviceFile.c_str(), in createStorageObjects()
123 deviceFile, "ERROR", e.what()); in createStorageObjects()
127 std::move(fd), objectServer, path, deviceFile, luksName, in createStorageObjects()
H A Dutil.cpp255 std::filesystem::path deviceFile = "/dev"; in findDevice() local
256 deviceFile /= deviceName; in findDevice()
259 return DeviceInfo{deviceFile, sysfsDir, in findDevice()
/openbmc/entity-manager/src/entity_manager/
H A Doverlay.cpp106 std::ofstream deviceFile(deviceDestructor); in deleteDevice() local
107 if (!deviceFile.good()) in deleteDevice()
112 deviceFile << std::to_string(address); in deleteDevice()
113 deviceFile.close(); in deleteDevice()
122 std::ofstream deviceFile(deviceConstructor); in createDevice() local
123 if (!deviceFile.good()) in createDevice()
128 deviceFile << parameters; in createDevice()
129 deviceFile.close(); in createDevice()
/openbmc/estoraged/src/test/
H A Dutil_test.cpp133 std::filesystem::path deviceFile, sysfsDir; in TEST() local
140 EXPECT_EQ("/dev/mmcblk0", result->deviceFile.string()); in TEST()
191 std::filesystem::path deviceFile, sysfsDir; in TEST() local
198 EXPECT_EQ("/dev/mmcblk0", result->deviceFile.string()); in TEST()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensorMain.cpp456 std::ofstream deviceFile(newDevice); in exportDevice() local
457 if (!deviceFile.good()) in exportDevice()
462 deviceFile << parameters; in exportDevice()
463 deviceFile.close(); in exportDevice()