/openbmc/entity-manager/test/ |
H A D | test_topology.cpp | 58 EXPECT_EQ(assocs.size(), 0); in TEST() 71 EXPECT_EQ(assocs.size(), 0); in TEST() 93 EXPECT_EQ(assocs.size(), 0); in TEST() 106 EXPECT_EQ(assocs.size(), 0); in TEST() 120 EXPECT_EQ(assocs.size(), 0); in TEST() 133 EXPECT_EQ(assocs.size(), 0); in TEST() 147 EXPECT_EQ(assocs.size(), 1); in TEST() 163 EXPECT_EQ(assocs.size(), 2); in TEST() 182 EXPECT_EQ(assocs.size(), 0); in TEST() 200 EXPECT_EQ(assocs.size(), 2); [all …]
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | item_updater.cpp | 126 assocs.emplace_back( in createActiveAssociation() 128 associations(assocs); in createActiveAssociation() 133 assocs.emplace_back(std::make_tuple(UPDATEABLE_FWD_ASSOCIATION, in createUpdateableAssociation() 135 associations(assocs); in createUpdateableAssociation() 142 for (auto iter = assocs.begin(); iter != assocs.end();) in updateFunctionalAssociation() 146 iter = assocs.erase(iter); in updateFunctionalAssociation() 153 assocs.emplace_back(std::make_tuple(FUNCTIONAL_FWD_ASSOCIATION, in updateFunctionalAssociation() 155 associations(assocs); in updateFunctionalAssociation() 160 for (auto iter = assocs.begin(); iter != assocs.end();) in removeAssociation() 164 iter = assocs.erase(iter); in removeAssociation() [all …]
|
H A D | msl_verify.cpp | 104 auto& assocs = std::get<AssociationList>(associations); in getFunctionalVersion() local 105 if (assocs.empty()) in getFunctionalVersion() 110 for (const auto& assoc : assocs) in getFunctionalVersion()
|
H A D | item_updater.hpp | 188 AssociationList& assocs) = 0; 216 AssociationList assocs = {}; member in openpower::software::updater::ItemUpdater
|
H A D | activation.hpp | 159 AssociationList& assocs) : in Activation() argument 174 associations(assocs); in Activation()
|
/openbmc/phosphor-psu-code-mgmt/test/ |
H A D | test_utils.cpp | 78 utils::AssociationList assocs = { in TEST() local 82 EXPECT_FALSE(utils::isAssociated(path, assocs)); in TEST() 84 assocs.emplace_back(ACTIVATION_FWD_ASSOCIATION, ACTIVATION_REV_ASSOCIATION, in TEST() 86 EXPECT_TRUE(utils::isAssociated(path, assocs)); in TEST()
|
H A D | test_item_updater.cpp | 186 EXPECT_EQ(2U, assocs.size()); in TEST_F() 187 EXPECT_EQ(psu0, std::get<2>(assocs[0])); in TEST_F() 188 EXPECT_EQ(psu1, std::get<2>(assocs[1])); in TEST_F() 432 EXPECT_EQ(2U, assocs.size()); in TEST_F() 433 EXPECT_EQ(psu0, std::get<2>(assocs[0])); in TEST_F() 438 assocs = activation->associations(); in TEST_F() 439 EXPECT_EQ(1U, assocs.size()); in TEST_F() 600 EXPECT_EQ(2U, assocs.size()); in TEST_F() 609 assocs = activation->associations(); in TEST_F() 610 EXPECT_EQ(1U, assocs.size()); in TEST_F() [all …]
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | item_updater.cpp | 161 assocs.emplace_back( in createActiveAssociation() 163 associations(assocs); in createActiveAssociation() 168 assocs.emplace_back(std::make_tuple(FUNCTIONAL_FWD_ASSOCIATION, in addFunctionalAssociation() 170 associations(assocs); in addFunctionalAssociation() 177 associations(assocs); in addUpdateableAssociation() 182 for (auto iter = assocs.begin(); iter != assocs.end();) in removeAssociation() 186 iter = assocs.erase(iter); in removeAssociation() 187 associations(assocs); in removeAssociation() 218 const AssociationList& assocs, const std::string& filePath) in createActivationObject() argument 569 const auto& assocs = activation->associations(); in syncToLatestImage() local [all …]
|
H A D | utils.hpp | 103 const AssociationList& assocs); 140 const AssociationList& assocs) const = 0; 178 const AssociationList& assocs) const override; 218 const AssociationList& assocs) in isAssociated() argument 220 return getUtils().isAssociated(psuInventoryPath, assocs); in isAssociated()
|
H A D | utils.cpp | 183 const AssociationList& assocs) const in isAssociated() 185 return std::find_if(assocs.begin(), assocs.end(), in isAssociated() 188 }) != assocs.end(); in isAssociated()
|
H A D | activation.cpp | 127 auto assocs = associations(); in onUpdateDone() local 128 assocs.emplace_back(ACTIVATION_FWD_ASSOCIATION, ACTIVATION_REV_ASSOCIATION, in onUpdateDone() 130 associations(assocs); in onUpdateDone()
|
H A D | item_updater.hpp | 142 const AssociationList& assocs, const std::string& filePath); 237 AssociationList assocs; member in phosphor::software::updater::ItemUpdater
|
H A D | activation.hpp | 127 Status activationStatus, const AssociationList& assocs, in Activation() argument 147 associations(assocs); in Activation()
|
/openbmc/smbios-mdr/src/ |
H A D | pcieslot.cpp | 58 std::vector<std::tuple<std::string, std::string, std::string>> assocs; in pcieInfoUpdate() local 59 assocs.emplace_back("chassis", "pcie_slots", motherboardPath); in pcieInfoUpdate() 60 association::associations(assocs); in pcieInfoUpdate()
|
H A D | cpu.cpp | 251 std::vector<std::tuple<std::string, std::string, std::string>> assocs; in infoUpdate() local 252 assocs.emplace_back("chassis", "processors", motherboardPath); in infoUpdate() 253 association::associations(assocs); in infoUpdate()
|
/openbmc/phosphor-objmgr/src/ |
H A D | associations.cpp | 99 auto assocs = owners->second.find(owner); in removeAssociation() local 100 if (assocs == owners->second.end()) in removeAssociation() 105 for (const auto& [assocPath, endpointsToRemove] : assocs->second) in removeAssociation() 112 owners->second.erase(assocs); in removeAssociation() 486 for (const auto& [owner, assocs] : owners) in findAssociations() 488 for (const auto& [assocPath, endpoints] : assocs) in findAssociations() 505 assocs.begin(), assocs.end(), in findAssociations() 517 if (a != assocs.end()) in findAssociations()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | item_updater.cpp | 760 assocs.emplace_back( in createActiveAssociation() 762 associations(assocs); in createActiveAssociation() 767 assocs.emplace_back(std::make_tuple(FUNCTIONAL_FWD_ASSOCIATION, in createFunctionalAssociation() 769 associations(assocs); in createFunctionalAssociation() 774 assocs.emplace_back(std::make_tuple(UPDATEABLE_FWD_ASSOCIATION, in createUpdateableAssociation() 776 associations(assocs); in createUpdateableAssociation() 781 for (auto iter = assocs.begin(); iter != assocs.end();) in removeAssociations() 785 iter = assocs.erase(iter); in removeAssociations() 786 associations(assocs); in removeAssociations() 964 AssociationList assocs; in createBIOSObject() local [all …]
|
H A D | activation.hpp | 200 AssociationList& assocs) : in Activation() argument 214 associations(assocs); in Activation()
|
/openbmc/phosphor-led-manager/fault-monitor/ |
H A D | fru-fault-monitor.cpp | 166 auto& assocs = std::get<AssociationList>(attr->second); in created() local 168 for (const auto& item : assocs) in created() 241 auto& assocs = std::get<AssociationList>(assoc); in processExistingCallouts() local 243 for (const auto& item : assocs) in processExistingCallouts()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | entry_points.cpp | 68 const AssociationEndpointsArg& assocs, const FFDCArg& ffdc) in REGISTER_EXTENSION_FUNCTION() 70 manager->create(message, id, timestamp, severity, additionalData, assocs, in REGISTER_EXTENSION_FUNCTION()
|
/openbmc/phosphor-logging/test/ |
H A D | extensions_test.cpp | 75 AssociationEndpointsArg assocs; in REGISTER_EXTENSION_FUNCTION() local 80 c("test", 5, 6, Entry::Level::Informational, ad, assocs, ffdc); in REGISTER_EXTENSION_FUNCTION()
|
/openbmc/phosphor-objmgr/src/test/ |
H A D | associations.cpp | 554 auto assocs = assocMaps.ifaces.find(defaultFwdPath); in TEST_F() local 555 auto& iface = std::get<ifacePos>(assocs->second); in TEST_F() 556 auto& endpoints = std::get<endpointsPos>(assocs->second); in TEST_F() 562 auto assocs = assocMaps.ifaces.find(defaultRevPath); in TEST_F() local 563 auto& iface = std::get<ifacePos>(assocs->second); in TEST_F() 564 auto& endpoints = std::get<endpointsPos>(assocs->second); in TEST_F()
|
/openbmc/phosphor-logging/ |
H A D | elog_entry.hpp | 81 assocs = associations(); in Entry() 153 AssociationList assocs = {}; member in phosphor::logging::Entry
|
/openbmc/phosphor-state-manager/ |
H A D | obmcutil | 267 assocs="$(busctl call xyz.openbmc_project.Logging "$berror" \ 273 assocs="$(echo "$assocs" | sed 's/\"//g')" 275 for entry in $assocs; do
|
/openbmc/openpower-pnor-code-mgmt/mmc/ |
H A D | item_updater_mmc.cpp | 35 AssociationList& assocs) in createActivationObject() argument 38 bus, path, *this, versionId, extVersion, activationStatus, assocs); in createActivationObject()
|