Home
last modified time | relevance | path

Searched refs:assocs (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/entity-manager/test/
H A Dtest_topology.cpp58 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 Ditem_updater.cpp126 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 Dmsl_verify.cpp104 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 Ditem_updater.hpp188 AssociationList& assocs) = 0;
216 AssociationList assocs = {}; member in openpower::software::updater::ItemUpdater
H A Dactivation.hpp159 AssociationList& assocs) : in Activation() argument
174 associations(assocs); in Activation()
/openbmc/phosphor-psu-code-mgmt/test/
H A Dtest_utils.cpp78 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 Dtest_item_updater.cpp186 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 Ditem_updater.cpp161 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 Dutils.hpp103 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 Dutils.cpp183 const AssociationList& assocs) const in isAssociated()
185 return std::find_if(assocs.begin(), assocs.end(), in isAssociated()
188 }) != assocs.end(); in isAssociated()
H A Dactivation.cpp127 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 Ditem_updater.hpp142 const AssociationList& assocs, const std::string& filePath);
237 AssociationList assocs; member in phosphor::software::updater::ItemUpdater
H A Dactivation.hpp127 Status activationStatus, const AssociationList& assocs, in Activation() argument
147 associations(assocs); in Activation()
/openbmc/smbios-mdr/src/
H A Dpcieslot.cpp58 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 Dcpu.cpp251 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 Dassociations.cpp99 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 Ditem_updater.cpp760 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 Dactivation.hpp200 AssociationList& assocs) : in Activation() argument
214 associations(assocs); in Activation()
/openbmc/phosphor-led-manager/fault-monitor/
H A Dfru-fault-monitor.cpp166 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 Dentry_points.cpp68 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 Dextensions_test.cpp75 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 Dassociations.cpp554 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 Delog_entry.hpp81 assocs = associations(); in Entry()
153 AssociationList assocs = {}; member in phosphor::logging::Entry
/openbmc/phosphor-state-manager/
H A Dobmcutil267 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 Ditem_updater_mmc.cpp35 AssociationList& assocs) in createActivationObject() argument
38 bus, path, *this, versionId, extVersion, activationStatus, assocs); in createActivationObject()

12