Searched refs:deviceFile (Results 1 – 7 of 7) sorted by relevance
/openbmc/estoraged/include/ |
H A D | util.hpp | 15 std::filesystem::path deviceFile; member 24 DeviceInfo(std::filesystem::path& deviceFile, in DeviceInfo() 29 deviceFile(deviceFile), sysfsDir(sysfsDir), luksName(luksName), in DeviceInfo()
|
/openbmc/entity-manager/src/ |
H A D | overlay.cpp | 121 std::ofstream deviceFile(deviceDestructor); in deleteDevice() local 122 if (!deviceFile.good()) in deleteDevice() 127 deviceFile << std::to_string(address); in deleteDevice() 128 deviceFile.close(); in deleteDevice() 138 std::ofstream deviceFile(deviceConstructor); in createDevice() local 139 if (!deviceFile.good()) in createDevice() 144 deviceFile << parameters; in createDevice() 145 deviceFile.close(); in createDevice()
|
/openbmc/estoraged/src/ |
H A D | main.cpp | 90 std::filesystem::path deviceFile = in createStorageObjects() local 91 std::move(deviceInfo->deviceFile); in createStorageObjects() 100 estoraged::util::findSizeOfBlockDevice(deviceFile); in createStorageObjects() 113 objectServer, path, deviceFile, luksName, size, lifeleft, in createStorageObjects()
|
H A D | util.cpp | 255 std::filesystem::path deviceFile = "/dev"; in findDevice() local 256 deviceFile /= deviceName; in findDevice() 259 return DeviceInfo{deviceFile, sysfsDir, in findDevice()
|
/openbmc/ipmbbridge/ |
H A D | ipmbbridged.cpp | 560 std::fstream deviceFile; in ipmbChannelInit() local 562 if (!deviceFile.good()) in ipmbChannelInit() 568 deviceFile << para; in ipmbChannelInit() 569 deviceFile.close(); in ipmbChannelInit() 612 std::fstream deviceFile; in ipmbChannelUpdateTargetAddress() local 617 if (!deviceFile.good()) in ipmbChannelUpdateTargetAddress() 624 deviceFile << para; in ipmbChannelUpdateTargetAddress() 625 deviceFile.close(); in ipmbChannelUpdateTargetAddress() 637 if (!deviceFile.good()) in ipmbChannelUpdateTargetAddress() 644 deviceFile << para; in ipmbChannelUpdateTargetAddress() [all …]
|
/openbmc/estoraged/src/test/ |
H A D | util_test.cpp | 133 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 D | IntelCPUSensorMain.cpp | 465 std::ofstream deviceFile(newDevice); in exportDevice() local 466 if (!deviceFile.good()) in exportDevice() 471 deviceFile << parameters; in exportDevice() 472 deviceFile.close(); in exportDevice()
|