Searched refs:flashId (Results 1 – 9 of 9) sorted by relevance
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | serialize.cpp | 26 void storePriority(const std::string& flashId, uint8_t priority) in storePriority() argument 29 auto path = fs::path(PERSIST_DIR) / flashId; in storePriority() 47 void storePurpose(const std::string& flashId, VersionPurpose purpose) in storePurpose() argument 50 auto path = fs::path(PERSIST_DIR) / flashId; in storePurpose() 68 bool restorePriority(const std::string& flashId, uint8_t& priority) in restorePriority() argument 71 auto path = fs::path(PERSIST_DIR) / flashId / priorityName; in restorePriority() 109 std::string versionVar = flashId + "="; in restorePriority() 130 bool restorePurpose(const std::string& flashId, VersionPurpose& purpose) in restorePurpose() argument 133 auto path = fs::path(PERSIST_DIR) / flashId / purposeName; in restorePurpose() 152 void removePersistDataDirectory(const std::string& flashId) in removePersistDataDirectory() argument [all …]
|
H A D | serialize.hpp | 24 void storePriority(const std::string& flashId, uint8_t priority); 31 void storePurpose(const std::string& flashId, VersionPurpose purpose); 39 bool restorePriority(const std::string& flashId, uint8_t& priority); 47 bool restorePurpose(const std::string& flashId, VersionPurpose& purpose); 53 void removePersistDataDirectory(const std::string& flashId);
|
H A D | item_updater.cpp | 320 auto flashId = iter.path().native().substr(BMC_RO_PREFIX_LEN); in processBMCImage() local 322 auto id = VersionClass::getId(version + flashId); in processBMCImage() 338 flashId.erase(flashId.length() - strlen(functionalSuffix)); in processBMCImage() 343 restorePurpose(flashId, purpose); in processBMCImage() 381 bus, path, version, purpose, extendedVersion, flashId, in processBMCImage() 423 if (!restorePriority(flashId, priority)) in processBMCImage() 528 auto flashId = it->second->path(); in erase() local 532 if (flashId.find(IMG_UPLOAD_DIR) == std::string::npos) in erase() 535 removePersistDataDirectory(flashId); in erase() 536 helper.clearEntry(flashId); in erase() [all …]
|
H A D | item_updater_helper.hpp | 56 void removeVersion(const std::string& flashId); 62 void updateUbootVersionId(const std::string& flashId);
|
H A D | activation.cpp | 190 auto flashId = parent.versions.find(versionId)->second->path(); in onFlashWriteSuccess() local 191 storePurpose(flashId, parent.versions.find(versionId)->second->purpose()); in onFlashWriteSuccess()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/ |
H A D | item_updater_helper.cpp | 54 void Helper::removeVersion(const std::string& flashId) in removeVersion() argument 56 auto serviceFile = "obmc-flash-bmc-ubiro-remove@" + flashId + ".service"; in removeVersion() 65 void Helper::updateUbootVersionId(const std::string& flashId) in updateUbootVersionId() argument 70 "obmc-flash-bmc-updateubootvars@" + flashId + ".service"; in updateUbootVersionId() 80 flashId); in updateUbootVersionId()
|
H A D | flash.cpp | 43 auto flashId = parent.versions.find(versionId)->second->path(); in onStateChanges() local 45 "obmc-flash-bmc-updateubootvars@" + flashId + ".service"; in onStateChanges()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/mmc/ |
H A D | item_updater_helper.cpp | 37 void Helper::removeVersion(const std::string& flashId) in removeVersion() argument 41 auto serviceFile = "obmc-flash-mmc-remove@" + flashId + ".service"; in removeVersion() 51 void Helper::updateUbootVersionId(const std::string& flashId) in updateUbootVersionId() argument 55 auto serviceFile = "obmc-flash-mmc-setprimary@" + flashId + ".service"; in updateUbootVersionId()
|
H A D | flash.cpp | 37 auto flashId = parent.versions.find(versionId)->second->path(); in onStateChanges() local 38 auto mmcSetPrimary = "obmc-flash-mmc-setprimary@" + flashId + ".service"; in onStateChanges()
|