/openbmc/phosphor-power/power-sequencer/ |
H A D | ucd90160.cpp | 170 metadata::RAW_STATUS(nv.get().c_str())); in checkVOUTFaults() 268 metadata::INPUT_NAME(gpiName.c_str()), in checkPGOODFaults() 269 metadata::RAW_STATUS(nv.get().c_str())); in checkPGOODFaults() 297 metadata::RAW_STATUS(nv.get().c_str())); in createPowerFaultLog() 392 entry("CHIP_PATH=%s", path.c_str())); in doGPIOAnalysis() 460 metadata::RAW_STATUS(nv.get().c_str()), in gpuPGOODError() 461 metadata::CALLOUT_INVENTORY_PATH(callout.c_str())); in gpuPGOODError() 482 metadata::RAW_STATUS(nv.get().c_str()), in gpuOverTempError() 483 metadata::CALLOUT_INVENTORY_PATH(callout.c_str())); in gpuOverTempError() 504 metadata::RAW_STATUS(nv.get().c_str()), in memGoodError() [all …]
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | ucd90160.cpp | 170 metadata::RAW_STATUS(nv.get().c_str())); in checkVOUTFaults() 268 metadata::INPUT_NAME(gpiName.c_str()), in checkPGOODFaults() 269 metadata::RAW_STATUS(nv.get().c_str())); in checkPGOODFaults() 297 metadata::RAW_STATUS(nv.get().c_str())); in createPowerFaultLog() 392 entry("CHIP_PATH=%s", path.c_str())); in doGPIOAnalysis() 460 metadata::RAW_STATUS(nv.get().c_str()), in gpuPGOODError() 461 metadata::CALLOUT_INVENTORY_PATH(callout.c_str())); in gpuPGOODError() 482 metadata::RAW_STATUS(nv.get().c_str()), in gpuOverTempError() 483 metadata::CALLOUT_INVENTORY_PATH(callout.c_str())); in gpuOverTempError() 504 metadata::RAW_STATUS(nv.get().c_str()), in memGoodError() [all …]
|
/openbmc/phosphor-buttons/src/ |
H A D | button_handler.cpp | 158 HSService.c_str(), HS_DBUS_OBJECT_NAME, propertyIface, "Get"); in getHostSelectorValue() 177 auto service = getService(hostObjectName.c_str(), hostIface); in poweredOn() 178 auto method = bus.new_method_call(service.c_str(), hostObjectName.c_str(), in poweredOn() 299 auto service = getService(objPathName.c_str(), dbusIfaceName); in handlePowerEvent() 300 auto method = bus.new_method_call(service.c_str(), objPathName.c_str(), in handlePowerEvent() 353 auto method = bus.new_method_call(service.c_str(), groupPath.c_str(), in idReleased() 367 method = bus.new_method_call(service.c_str(), groupPath.c_str(), in idReleased() 393 bus.new_method_call(HSService.c_str(), HS_DBUS_OBJECT_NAME, in increaseHostSelectorPosition() 406 method = bus.new_method_call(HSService.c_str(), HS_DBUS_OBJECT_NAME, in increaseHostSelectorPosition()
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | event.cpp | 110 entry("JSON=%s", jsonObj.dump().c_str())); in configGroup() 151 log<level::ERR>(msg.c_str(), in setGroups() 152 entry("JSON=%s", jsonGrp.dump().c_str())); in setGroups() 153 throw std::runtime_error(msg.c_str()); in setGroups() 180 entry("JSON=%s", jsonAct.dump().c_str())); in setActions() 230 .c_str()); in setActions() 268 .c_str()); in setActions() 278 entry("JSON=%s", jsonObj.dump().c_str())); in setTriggers() 286 entry("JSON=%s", jsonTrig.dump().c_str())); in setTriggers() 308 std::format("Trigger '{}' is not recognized", tClass).c_str(), in setTriggers() [all …]
|
H A D | profile.cpp | 48 entry("JSON=%s", jsonObj.dump().c_str())); in setActive() 69 entry("JSON=%s", jsonObj["method"].dump().c_str()), in setActive() 70 entry("METHODS_AVAILABLE=%s", methods.c_str())); in setActive() 79 entry("JSON=%s", method.dump().c_str())); in allOf() 92 entry("JSON=%s", obj.dump().c_str())); in allOf()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | sync_manager.cpp | 54 execl("/usr/bin/rsync", "rsync", "-aI", entryPath.c_str(), in processEntry() 55 dst.c_str(), nullptr); in processEntry() 65 entryPath.c_str(), dst.c_str(), nullptr); in processEntry()
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_offload.cpp | 97 if (strnlen(sockPath.c_str(), sizeof(socketAddr.sun_path)) == in socketInit() 105 strncpy(socketAddr.sun_path, sockPath.c_str(), in socketInit() 184 elog<Open>(ErrnoOpen(errno), PathOpen(file.c_str())); in requestOffload() 191 file.filename().c_str()); in requestOffload() 210 std::remove(writePath.c_str()); in requestOffload() 215 elog<Open>(ErrnoOpen(err), PathOpen(file.c_str())); in requestOffload() 219 std::remove(writePath.c_str()); in requestOffload() 224 elog<Write>(ErrnoWrite(err), PathWrite(writePath.c_str())); in requestOffload() 226 std::remove(writePath.c_str()); in requestOffload()
|
/openbmc/phosphor-ipmi-flash/bmc/log-handler/ |
H A D | log_handler.cpp | 47 infoP->blobId.c_str()); in LogBlobHandler() 55 infoP->blobId.c_str()); in LogBlobHandler() 66 infoP->blobId.c_str()); in LogBlobHandler() 81 info->blobId.c_str()); in LogBlobHandler() 113 path.c_str()); in deleteBlob() 123 path.c_str()); in deleteBlob() 144 path.c_str(), flags); in open() 155 path.c_str()); in open()
|
/openbmc/sdbusplus/include/sdbusplus/server/ |
H A D | interface.hpp | 71 return _bus.new_signal(_path.c_str(), _interf.c_str(), member); in new_signal() 85 _bus.emit_interfaces_added(_path.c_str(), {_interf}); in emit_added() 95 _bus.emit_interfaces_removed(_path.c_str(), {_interf}); in emit_removed()
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | thread_stopall.cpp | 61 .c_str()); in threadStopAll() 87 .c_str()); in threadStopAll() 112 .c_str()); in threadStopAll() 119 .c_str()); in threadStopAll() 129 std::format("threadStopAll: Exception({})", ex.what()).c_str()); in threadStopAll()
|
H A D | start_host.cpp | 111 service.c_str(), objPath, "org.freedesktop.DBus.Properties", "Get"); in setClkNETerminationSite() 137 .c_str()); in setClkNETerminationSite() 143 .c_str()); in setClkNETerminationSite() 212 .c_str()); in createPELForHwIsolationSettingsErr() 239 bus.new_method_call(service.c_str(), hwIsolationPolicyObjPath, in allowHwIsolation() 261 log<level::ERR>(trace.c_str()); in allowHwIsolation() 274 log<level::ERR>(trace.c_str()); in allowHwIsolation()
|
/openbmc/s2600wf-misc/hsbp-manager/include/ |
H A D | utils.hpp | 200 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceAdded() 201 type.c_str(), sn.c_str(), NULL); in logDeviceAdded() 209 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceRemoved() 210 type.c_str(), sn.c_str(), NULL); in logDeviceRemoved() 217 "REDFISH_MESSAGE_ARGS=%s", name.c_str(), NULL); in logDriveError()
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | io.cpp | 19 devMemFd = sys->open(devMemPath.c_str(), O_RDONLY); in read() 57 devMemFd = sys->open(devMemPath.c_str(), O_RDWR); in write() 112 ppcMemFd = sys->open(ppcMemPath.c_str(), O_RDWR); in read() 116 ppcMemPath.c_str()); in read() 136 ppcMemFd = sys->open(ppcMemPath.c_str(), O_RDWR); in write() 140 ppcMemPath.c_str()); in write()
|
/openbmc/phosphor-power/power-supply/ |
H A D | power_supply.cpp | 127 entry("CMD=%s", cmd.c_str())); in captureCmd() 307 metadata::RAW_STATUS(nv.get().c_str()), in checkInputFault() 308 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkInputFault() 355 metadata::RAW_STATUS(nv.get().c_str()), in checkPGOrUnitOffFault() 356 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkPGOrUnitOffFault() 394 metadata::RAW_STATUS(nv.get().c_str()), in checkCurrentOutOverCurrentFault() 435 metadata::RAW_STATUS(nv.get().c_str()), in checkOutputOvervoltageFault() 474 metadata::RAW_STATUS(nv.get().c_str()), in checkFanFault() 529 metadata::RAW_STATUS(nv.get().c_str()), in checkTemperatureFault() 602 entry("CALLOUT=%s", callout.c_str()), in resolveError() [all …]
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | power_supply.cpp | 140 entry("CMD=%s", cmd.c_str())); in captureCmd() 344 metadata::RAW_STATUS(nv.get().c_str()), in checkInputFault() 345 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkInputFault() 392 metadata::RAW_STATUS(nv.get().c_str()), in checkPGOrUnitOffFault() 393 metadata::CALLOUT_INVENTORY_PATH(inventoryPath.c_str())); in checkPGOrUnitOffFault() 431 metadata::RAW_STATUS(nv.get().c_str()), in checkCurrentOutOverCurrentFault() 472 metadata::RAW_STATUS(nv.get().c_str()), in checkOutputOvervoltageFault() 511 metadata::RAW_STATUS(nv.get().c_str()), in checkFanFault() 566 metadata::RAW_STATUS(nv.get().c_str()), in checkTemperatureFault() 639 entry("CALLOUT=%s", callout.c_str()), in resolveError() [all …]
|
/openbmc/obmc-ikvm/ |
H A D | ikvm_video.cpp | 232 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 263 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 285 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 304 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 327 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 340 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 354 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 369 CALLOUT_DEVICE_PATH(path.c_str())); in resize() 390 fd = open(path.c_str(), O_RDWR); in start() 411 CALLOUT_DEVICE_PATH(path.c_str())); in start() [all …]
|
/openbmc/phosphor-user-manager/ |
H A D | user_mgr.cpp | 210 !std::regex_match(groupName.c_str(), in checkAndThrowForDisallowedGroupCreation() 255 if (!std::regex_match(userName.c_str(), in throwForUserNameConstraints() 368 executeUserAdd(userName.c_str(), groups.c_str(), sshRequested, enabled); in createUser() 400 executeUserDelete(userName.c_str()); in deleteUser() 430 executeGroupDeletion(groupName.c_str()); in deleteGroup() 486 executeUserRename(userName.c_str(), newUserName.c_str()); in renameUser() 550 executeUserModify(userName.c_str(), groups.c_str(), sshRequested); in updateGroupsAndPriv() 693 std::remove(tmpConfFile.c_str()); in setPamModuleConfValue() 733 if (std::rename(tmpConfFile.c_str(), confFile.c_str()) == 0) in setPamModuleConfValue() 739 std::remove(tmpConfFile.c_str()); in setPamModuleConfValue() [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | json_parser.cpp | 90 entry("CLASS=%s", tgClass.c_str())); in getTrustGrps() 220 log<level::ERR>(msg.c_str()); in getFanDefs() 221 throw std::runtime_error(msg.c_str()); in getFanDefs() 237 log<level::ERR>(msg.c_str()); in getFanDefs() 238 throw std::runtime_error(msg.c_str()); in getFanDefs() 414 log<level::ERR>(msg.c_str()); in getPowerOffPowerRuleState() 415 throw std::runtime_error(msg.c_str()); in getPowerOffPowerRuleState() 459 log<level::ERR>(msg.c_str()); in getPowerOffCause() 460 throw std::runtime_error(msg.c_str()); in getPowerOffCause() 519 log<level::ERR>(msg.c_str()); in getPowerOffAction() [all …]
|
/openbmc/sdbusplus/src/server/ |
H A D | interface.cpp | 31 _slot(makeObjVtable(_bus.getInterface(), get_busp(_bus), _path.c_str(), in interface() 32 _interf.c_str(), vtable, context)) in interface() 47 get_busp(_bus), _path.c_str(), _interf.c_str(), values.data()); in property_changed()
|
/openbmc/openpower-occ-control/ |
H A D | occ_errors.cpp | 30 fd = open(file.c_str(), O_RDONLY | O_NONBLOCK); in openFile() 36 .c_str()); in openFile() 40 OpenFailure::CALLOUT_DEVICE_PATH(file.c_str())); in openFile() 122 CALLOUT_DEVICE_PATH(file.c_str())); in analyzeEvent() 161 ReadFailure::CALLOUT_DEVICE_PATH(file.c_str())); in readFile() 179 CALLOUT_DEVICE_PATH(file.c_str())); in readFile()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | activation.cpp | 116 entry("VERSIONPATH=%s", path.c_str())); in deleteImageManagerObject() 123 entry("VERSIONPATH=%s", path.c_str())); in deleteImageManagerObject() 144 method = this->bus.new_method_call(versionService.c_str(), path.c_str(), in deleteImageManagerObject() 160 entry("PATH=%s", path.c_str())); in deleteImageManagerObject() 178 auto method = bus.new_method_call(service.c_str(), applyTimeObjPath, in checkApplyTimeImmediate() 213 auto method = bus.new_method_call(service.c_str(), hostStateObjPath, in rebootHost() 275 auto method = bus.new_method_call(fieldModeSvc.c_str(), FIELDMODE_PATH, in fieldModeEnabled()
|
/openbmc/sdbusplus/test/message/ |
H A D | append.cpp | 192 expect_basic_string(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F() 199 expect_basic_string(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F() 220 expect_basic_string(SD_BUS_TYPE_OBJECT_PATH, o.str.c_str()); in TEST_F() 227 expect_basic_string(SD_BUS_TYPE_SIGNATURE, g.str.c_str()); in TEST_F() 242 expect_basic_string(SD_BUS_TYPE_STRING, s1.c_str()); in TEST_F() 311 expect_basic_string(SD_BUS_TYPE_STRING, i.c_str()); in TEST_F() 327 expect_basic_string(SD_BUS_TYPE_STRING, i.c_str()); in TEST_F() 350 expect_basic_string(SD_BUS_TYPE_STRING, i.second.c_str()); in TEST_F() 409 expect_basic_string(SD_BUS_TYPE_STRING, s2.c_str()); in TEST_F() 431 expect_basic_string(SD_BUS_TYPE_STRING, s.c_str()); in TEST_F() [all …]
|
/openbmc/phosphor-certificate-manager/test/ |
H A D | certs_manager_test.cpp | 114 auto val = std::system(cmd.c_str()); in createNewCertificate() 1030 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1058 ASSERT_NE("", csrData.c_str()); in TEST_F() 1097 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1145 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1192 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1238 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1285 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1335 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() 1385 CSR csr(bus, objPath.c_str(), csrPath.c_str(), status); in TEST_F() [all …]
|
/openbmc/phosphor-user-manager/phosphor-ldap-config/ |
H A D | ldap_config.cpp | 231 if (fs::is_directory(tlsCacertFile.c_str())) in writeConfig() 239 if (fs::exists(tlsCertFile.c_str())) in writeConfig() 241 confData << "tls_cert " << tlsCertFile.c_str() << "\n"; in writeConfig() 242 confData << "tls_key " << tlsCertFile.c_str() << "\n"; in writeConfig() 302 std::fstream stream(configFilePath.c_str(), std::fstream::out); in writeConfig() 380 if (secureLDAP && !fs::exists(tlsCacertFile.c_str())) in ldapServerURI() 687 if (!fs::exists(configPersistPath.c_str())) in serialize() 713 std::ifstream is(configPersistPath.c_str(), in deserialize() 760 bus, mapperObjectPath.string().c_str(), persistPath.string().c_str(), in create() 834 std::string id = file.path().filename().c_str(); in restoreRoleMapping() [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | host_check.cpp | 96 auto method = bus.new_method_call(service.c_str(), path.c_str(), in checkFirmwareConditionRunning() 138 auto method = bus.new_method_call(svcname.c_str(), objpath.c_str(), in isChassiPowerOn() 158 "ERROR", e, "SERVICE", svcname.c_str(), "PATH", objpath.c_str()); in isChassiPowerOn()
|