Home
last modified time | relevance | path

Searched refs:driveName (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/lib/
H A Dstorage.hpp838 const std::string& driveName, in buildDrive() argument
853 if (objPath.filename() != driveName) in buildDrive()
865 "/redfish/v1/Chassis/{}/Drives/{}", chassisId, driveName); in buildDrive()
868 asyncResp->res.jsonValue["Name"] = driveName; in buildDrive()
869 asyncResp->res.jsonValue["Id"] = driveName; in buildDrive()
885 const std::string& chassisId, const std::string& driveName, in matchAndFillDrive() argument
892 if (leaf != driveName) in matchAndFillDrive()
901 [asyncResp, chassisId, driveName]( in matchAndFillDrive()
904 buildDrive(asyncResp, chassisId, driveName, ec, subtree); in matchAndFillDrive()
912 const std::string& chassisId, const std::string& driveName) in handleChassisDriveGet() argument
[all …]
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp685 Drive(std::string driveName, bool present, bool isOperational, bool nvme, in Drive()
688 isPresent(present), name(driveName) in Drive()
693 objServer.add_interface(basePath + driveName, inventory::interface); in Drive()
695 itemIface->register_property("PrettyName", driveName); in Drive()
1028 std::string driveName = boost::replace_all_copy(name, " ", "_") + in createDrives() local
1030 Drive& drive = drives.emplace_back(driveName, isPresent, !isFailed, in createDrives()
1729 std::string driveName = in updateAssets() local
1732 driveName, true, true, true, false); in updateAssets()