/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | power_supply.cpp | 133 .c_str()); in bindOrUnbindDriver() 140 .c_str()); in bindOrUnbindDriver() 160 .c_str()); in bindOrUnbindDriver() 177 .c_str()); in updatePresence() 255 .c_str()); in analyzeCMLFault() 295 .c_str()); in analyzeInputFault() 548 .c_str()); in analyzeVinUVFault() 931 .c_str()); in updateInventory() 1036 .c_str()); in updateInventory() 1155 .c_str()); in monitorPeakInputPowerSensor() [all …]
|
/openbmc/entity-manager/src/ |
H A D | entity_manager.hpp | 147 sd_journal_send("MESSAGE=Inventory Added: %s", name.c_str(), "PRIORITY=%i", in logDeviceAdded() 150 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceAdded() 151 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceAdded() 201 sd_journal_send("MESSAGE=Inventory Removed: %s", name.c_str(), in logDeviceRemoved() 204 "REDFISH_MESSAGE_ARGS=%s,%s,%s", model.c_str(), in logDeviceRemoved() 205 type.c_str(), sn.c_str(), "NAME=%s", name.c_str(), NULL); in logDeviceRemoved()
|
/openbmc/openpower-sbe-interface/ |
H A D | sbe_chipOp_handler.cpp | 47 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 53 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 65 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 75 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 81 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 96 throw std::runtime_error(errMsg.str().c_str()); in writeToFifo() 128 throw std::runtime_error(errMsg.str().c_str()); in parseResponse() 151 throw std::runtime_error(errMsg.str().c_str()); in parseResponse() 177 throw std::runtime_error(errMsg.str().c_str()); in parseResponse()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | image_manager.cpp | 89 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage() 123 report<ManifestFileFailure>(ManifestFail::PATH(tarFilePath.c_str())); in processImage() 161 ImageFail::PATH(manifestPath.string().c_str())); in processImage() 170 ImageFail::PATH(manifestPath.string().c_str())); in processImage() 267 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar() 273 report<UnTarFailure>(UnTarFail::PATH(extractDirPath.c_str())); in unTar() 285 execl("/bin/tar", "tar", "-xf", tarFilePath.c_str(), "-C", in unTar() 286 extractDirPath.c_str(), (char*)0); in unTar() 289 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar() 299 report<UnTarFailure>(UnTarFail::PATH(tarFilePath.c_str())); in unTar() [all …]
|
H A D | download_manager.cpp | 48 Argument::ARGUMENT_VALUE(fileName.c_str())); in downloadViaTFTP() 56 Argument::ARGUMENT_VALUE(serverAddress.c_str())); in downloadViaTFTP() 82 execl("/usr/bin/tftp", "tftp", "-g", "-r", fileName.c_str(), in downloadViaTFTP() 83 serverAddress.c_str(), "-l", in downloadViaTFTP() 84 (std::string{IMG_UPLOAD_DIR} + '/' + fileName).c_str(), in downloadViaTFTP()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libyui/libyui-ncurses/ |
H A D | 0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch | 39 - stat64( iniDir.c_str(), &statInfo ); 41 + stat( iniDir.c_str(), &statInfo ); 49 - stat64( dir.c_str(), &statInfo ); 50 + stat( dir.c_str(), &statInfo ); 85 - stat64( iniDir.c_str(), &statInfo ); 86 + stat( iniDir.c_str(), &statInfo ); 105 - if ( lstat64( fullName.c_str(), &statInfo ) == 0 ) 106 + if ( lstat( fullName.c_str(), &statInfo ) == 0 ) 115 + if ( stat( fullName.c_str(), &linkInfo ) == 0 ) 135 + if ( lstat( fullName.c_str(), &statInfo ) == 0 ) [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_pass_through.cpp | 82 .c_str()); in send() 108 .c_str()); in send() 115 .c_str()); in send() 125 .c_str()); in send() 139 .c_str()); in send() 162 .c_str()); in setMode() 173 .c_str()); in setMode() 180 .c_str()); in setMode() 187 .c_str()); in setMode()
|
H A D | occ_ffdc.cpp | 49 .c_str()); in createPEL() 123 .c_str()); in createOCCResetPEL() 155 .c_str()); in createOCCResetPEL() 174 CALLOUT_DEVICE_PATH(file.c_str())); in analyzeEvent() 245 .c_str()); in addJournalEntries() 254 .c_str()); in addJournalEntries() 281 .c_str()); in makeJsonFFDCFile() 290 .c_str()); in makeJsonFFDCFile() 321 rc = sd_journal_add_match(journal, match.c_str(), 0); in getJournalEntries() 426 _fd(open(name.c_str(), O_RDONLY)), _name(name) in FFDCFile() [all …]
|
H A D | occ_dbus.cpp | 33 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMaxValue() 60 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setMinValue() 87 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setValue() 114 path, std::make_unique<SensorIntf>(utils::getBus(), path.c_str())); in setUnit() 158 utils::getBus(), path.c_str())); in setOperationalStatus() 195 path, std::make_unique<AssociationIntf>(utils::getBus(), path.c_str(), in setChassisAssociation() 220 .c_str()); in getChassisPath() 230 .c_str()); in getChassisPath() 245 std::make_unique<SensorIntf>(utils::getBus(), path.c_str()); in setDvfsTemp()
|
/openbmc/telemetry/src/ |
H A D | trigger_actions.cpp | 64 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit() 119 sensorName.c_str(), value, in commit() 120 triggerId.c_str())); in commit() 128 sensorName.c_str(), value, threshold, in commit() 129 triggerId.c_str())); in commit() 186 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit() 203 sensorName.c_str(), value.c_str(), in commit() 204 triggerId.c_str())); in commit() 254 phosphor::logging::log<phosphor::logging::level::INFO>(msg.c_str()); in commit() 271 sensorName.c_str(), value.c_str(), in commit() [all …]
|
/openbmc/phosphor-logging/test/ |
H A D | remote_logging_test_config.cpp | 32 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 38 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 45 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 52 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 54 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 61 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@1.1.1.1:100"); in TEST_F() 63 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* /dev/null"); in TEST_F() 70 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @@[abcd:ef01::01]:50000"); in TEST_F() 167 EXPECT_EQ(getConfig(configFilePath.c_str()), "*.* @[abcd:ef01::01]:50000"); in TEST_F()
|
/openbmc/openpower-hw-diags/attn/ |
H A D | attn_dbus.cpp | 30 bus.new_method_call(service.c_str(), i_path.c_str(), in dbusMethod() 31 i_interface.c_str(), i_function.c_str()); in dbusMethod() 39 trace::inf(i_path.c_str()); in dbusMethod() 40 trace::inf(i_interface.c_str()); in dbusMethod() 64 trace::err("%s only %u of %u bytes written", filePath.c_str(), numBytes, in createPelRaw()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | pnor_partition.cpp | 78 partition.data.name, dst.c_str(), src.c_str()); in getPartitionFilePath() 107 MSG_DBG("Resizing %s to %zu bytes\n", path.c_str(), maxAccess); in resize() 108 int rc = truncate(path.c_str(), maxAccess); in resize() 111 MSG_ERR("Failed to resize %s: %d\n", path.c_str(), errno); in resize() 126 int fd = ::open(path.c_str(), flags); in fulfil() 129 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in fulfil() 141 path.c_str(), fileSize, errno); in fulfil()
|
/openbmc/phosphor-objmgr/fail-monitor/ |
H A D | monitor.cpp | 51 auto method = bus.new_method_call(systemdService, path.c_str(), in inFailedState() 60 entry("UNIT=%s", source.c_str())); in inFailedState() 83 entry("UNIT=%s", source.c_str())); in getSourceUnitPath() 101 entry("SOURCE=%s", source.c_str()), in runTargetAction() 102 entry("TARGET=%s", target.c_str()), in runTargetAction() 115 entry("UNIT=%s", target.c_str())); in runTargetAction()
|
/openbmc/phosphor-watchdog/src/ |
H A D | watchdog.cpp | 123 entry("ACTION=%s", convertForMessage(action).c_str()), in timeOutHandler() 125 convertForMessage(expiredTimerUse()).c_str())); in timeOutHandler() 131 entry("ACTION=%s", convertForMessage(action).c_str()), in timeOutHandler() 132 entry("TIMER_USE=%s", convertForMessage(expiredTimerUse()).c_str()), in timeOutHandler() 133 entry("TARGET=%s", target->second.c_str())); in timeOutHandler() 147 entry("TARGET=%s", target->second.c_str()), in timeOutHandler() 156 signal.append(convertForMessage(action).c_str()); in timeOutHandler()
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | item_updater.cpp | 88 entry("OBJPATH=%s", path.c_str())); in createActivation() 129 .c_str()); in erase() 144 .c_str()); in erase() 397 auto present = utils::getProperty<bool>(bus, service.c_str(), p.c_str(), in processPSUImage() 400 bus, service.c_str(), p.c_str(), ASSET_IFACE, MODEL); in processPSUImage() 442 entry("PATH=%s", dir.c_str())); in scanDirectory() 464 entry("PATH=%s", path.c_str())); in scanDirectory() 471 entry("PATH=%s", manifest.c_str())); in scanDirectory() 519 entry("PATH=%s", manifest.c_str())); in scanDirectory() 620 .c_str()); in onPSUInterfaceAdded() [all …]
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | utils.cpp | 73 entry("PATH=%s", path.c_str()), in getService() 74 entry("INTERFACE=%s", intf.c_str())); in getService() 82 auto method = bus.new_method_call(service.c_str(), HIOMAPD_PATH, in hiomapdSuspend() 99 auto method = bus.new_method_call(service.c_str(), HIOMAPD_PATH, in hiomapdResume() 132 auto method = bus.new_method_call(service.c_str(), biosConfigPath, in setPendingAttributes() 142 entry("ATTRIBUTE=%s", attrName.c_str()), in setPendingAttributes() 143 entry("ATTRIBUTE_VALUE=%s", attrValue.c_str())); in setPendingAttributes() 164 auto method = bus.new_method_call(service.c_str(), loggingPath, in deleteAllErrorLogs()
|
/openbmc/sdbusplus/include/sdbusplus/async/ |
H A D | proxy.hpp | 129 auto msg = ctx.get_bus().new_method_call(c_str(s), c_str(p), c_str(i), in call() 162 return prop_intf.template call<result_t>(ctx, "Get", c_str(i), in get_property() 182 return prop_intf.template call<result_t>(ctx, "GetAll", c_str(i)); in get_all_properties() 201 ctx, "Set", c_str(i), property.data(), in set_property() 209 static auto c_str(string_ref v) in c_str() function 213 return v.c_str(); in c_str()
|
/openbmc/phosphor-host-postd/ipmisnoop/ |
H A D | ipmisnoop.cpp | 12 bus.new_method_call(selectorService.c_str(), selectorObject.c_str(), in getSelectorPosition() 14 method.append(selectorIface.c_str(), propertyName); in getSelectorPosition() 46 std::cerr << errMsg.c_str() << std::endl; in configGPIODirOutput() 67 std::cerr << errMsg.c_str() << std::endl; in configGPIODirOutput() 143 sdbusplus::server::manager_t m{bus, objPathInst.c_str()}; in postCodeIpmiHandler() 147 std::make_unique<IpmiPostReporter>(bus, objPathInst.c_str())); in postCodeIpmiHandler() 152 bus.request_name(snoopDbus.c_str()); in postCodeIpmiHandler()
|
/openbmc/openpower-vpd-parser/vpd-manager/ |
H A D | reader_impl.cpp | 61 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getExpandedLocationCode() 71 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getExpandedLocationCode() 95 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getFrusAtLocation() 107 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getFrusAtLocation() 129 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode() 156 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode() 166 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode() 208 Argument::ARGUMENT_VALUE(locationCode.c_str())); in getCollapsedLocationCode()
|
/openbmc/phosphor-ipmi-blobs/ |
H A D | utils.cpp | 53 libHandle = sys->dlopen(p.c_str(), RTLD_NOW | RTLD_GLOBAL); in loadLibraries() 56 log<level::ERR>("ERROR opening", entry("HANDLER=%s", p.c_str()), in loadLibraries() 70 entry("HANDLER=%s", p.c_str()), in loadLibraries() 89 entry("HANDLER=%s", p.c_str())); in loadLibraries() 98 entry("HANDLER=%s", p.c_str()), in loadLibraries()
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | net.cpp | 59 inputFd.reset(sys->open(input.c_str(), O_RDONLY)); in sendContents() 63 std::fprintf(stderr, "Unable to open file: '%s'\n", input.c_str()); in sendContents() 67 std::int64_t fileSize = sys->getSize(input.c_str()); in sendContents() 78 int ret = sys->getaddrinfo(host.c_str(), port.c_str(), &hints, &addrs); in sendContents() 82 host.c_str(), port.c_str(), gai_strerror(ret)); in sendContents()
|
/openbmc/phosphor-buttons/src/ |
H A D | id_button.cpp | 37 (getFormFactorType() + " : lseek error!").c_str()); in handleEvent() 45 (getFormFactorType() + " : read error!").c_str()); in handleEvent() 52 (getFormFactorType() + " : pressed").c_str()); in handleEvent() 59 (getFormFactorType() + " : released").c_str()); in handleEvent()
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | ipmi_unittest.cpp | 17 EXPECT_STREQ("", stringFromBuffer({}).c_str()); in TEST() 26 .c_str()); in TEST() 37 .c_str()); in TEST() 49 .c_str()); in TEST()
|
/openbmc/phosphor-pid-control/dbus/ |
H A D | dbuswrite.cpp | 82 writeBus.new_method_call(connectionName.c_str(), path.c_str(), in write() 94 log<level::ERR>("Dbus Call Failure", entry("PATH=%s", path.c_str()), in write() 144 writeBus.new_method_call(connectionName.c_str(), path.c_str(), in write() 156 log<level::ERR>("Dbus Call Failure", entry("PATH=%s", path.c_str()), in write()
|