/openbmc/openpower-hw-diags/analyzer/ |
H A D | initialize_isolator.cpp | 33 trace::err("Unable to open file: %s", path.string().c_str()); in __getChipDataFiles() 51 trace::err("Unable to read file: %s", path.string().c_str()); in __getChipDataFiles() 62 trace::err("Invalid chip data file: %s", path.string().c_str()); in __getChipDataFiles() 72 path.string().c_str()); in __getChipDataFiles()
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | enter_mpreboot.cpp | 70 .c_str()); in sbeEnterMpReboot() 76 .c_str()); in sbeEnterMpReboot() 122 .c_str()); in sbeEnterMpReboot() 130 .c_str()); in sbeEnterMpReboot()
|
/openbmc/openpower-occ-control/ |
H A D | occ_device.cpp | 29 devPath.c_str(), e.what()) in setActive() 30 .c_str()); in setActive() 95 error, p.c_str())); in errorCallback() 157 .c_str()); in getFilenameByRegex()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | lpc_aspeed.cpp | 96 const auto lpcControlFd = sys->open(lpcControlPath.c_str(), O_RDWR); in mapWindow() 101 lpcControlPath.c_str()); in mapWindow() 141 mappedFd = sys->open(lpcControlPath.c_str(), O_RDONLY | O_SYNC); in mapRegion() 145 lpcControlPath.c_str()); in mapRegion()
|
/openbmc/phosphor-bmc-code-mgmt/ |
H A D | serialize.cpp | 42 std::ofstream os(path.c_str()); in storePriority() 63 std::ofstream os(path.c_str()); in storePurpose() 74 std::ifstream is(path.c_str(), std::ios::in); in restorePriority() 105 std::ifstream input(devicePath.c_str()); in restorePriority() 136 std::ifstream is(path.c_str(), std::ios::in); in restorePurpose()
|
/openbmc/intel-ipmi-oem/src/ |
H A D | bmccontrolservices.cpp | 84 phosphor::logging::log<phosphor::logging::level::ERR>(msgToLog.c_str()); in checkAndThrowError() 85 throw sdbusplus::exception::SdBusError(-EIO, msgToLog.c_str()); in checkAndThrowError() 127 yield, ec, getServiceConfigMgrName().c_str(), serviceConfigBasePath, in setBmcControlServices() 149 yield, ec, getServiceConfigMgrName().c_str(), in setBmcControlServices() 175 yield, ec, getServiceConfigMgrName().c_str(), serviceConfigBasePath, in getBmcControlServices()
|
/openbmc/phosphor-state-manager/ |
H A D | scheduled_host_transition_main.cpp | 57 sdbusplus::server::manager_t objManager(bus, objPathInst.c_str()); in main() 60 bus, objPathInst.c_str(), hostId, event); in main() 71 .c_str()); in main()
|
H A D | utils.cpp | 102 auto method = bus.new_method_call(service.c_str(), path.c_str(), in getProperty() 136 auto method = bus.new_method_call(service.c_str(), path.c_str(), in setProperty() 148 gpiod_line* line = gpiod_line_find(gpioName.c_str()); in getGpioValue() 213 bus.new_method_call(DumpCreate::default_service, dumpPath.str.c_str(), in createBmcDump()
|
H A D | discover_system_state.cpp | 112 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main() 113 settings.powerRestorePolicyOneTime.c_str(), in main() 118 settings.service(settings.powerRestorePolicy, powerRestoreIntf).c_str(), in main() 119 settings.powerRestorePolicy.c_str(), "org.freedesktop.DBus.Properties", in main() 153 .c_str(), in main() 154 settings.powerRestorePolicy.c_str(), in main()
|
/openbmc/openpower-proc-control/ |
H A D | cfam_access.cpp | 66 metadata::PATH(target->getCFAMPath().c_str())); in writeReg() 78 metadata::CALLOUT_DEVICE_PATH(target->getCFAMPath().c_str())); in writeReg() 100 metadata::PATH(target->getCFAMPath().c_str())); in readReg() 110 metadata::CALLOUT_DEVICE_PATH(target->getCFAMPath().c_str())); in readReg()
|
/openbmc/smbios-mdr/include/ |
H A D | dimm.hpp | 76 bus, objPath.c_str()), in Dimm() 79 bus, objPath.c_str()), in Dimm() 82 bus, objPath.c_str()), in Dimm() 85 bus, objPath.c_str()), in Dimm() 88 bus, objPath.c_str()), in Dimm() 91 bus, objPath.c_str()), in Dimm() 94 bus, objPath.c_str()), in Dimm() 97 bus, objPath.c_str()), in Dimm()
|
/openbmc/openpower-pnor-code-mgmt/static/ |
H A D | item_updater_static.cpp | 48 FILE* pipe = popen(cmd.c_str(), "r"); in pflash() 90 std::ifstream f(versionFile.c_str(), std::ios::in | std::ios::binary); in getPNORVersion() 111 entry("DIR=%s", tmpDir.c_str()), in getPNORVersion() 112 entry("ERR=%s", ec.message().c_str())); in getPNORVersion() 126 entry("PART=%s", part.c_str()), in pnorClear() 132 entry("PART=%s", part.c_str())); in pnorClear() 252 entry("VERSION=%s", fullVersion.c_str())); in processPNORImage() 259 entry("VERSION=%s", fullVersion.c_str())); in processPNORImage()
|
/openbmc/phosphor-debug-collector/test/ |
H A D | debug_inif_test.cpp | 48 phosphor::dump::elog::serialize(e, dumpFile.c_str()); in TEST_F() 49 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F() 58 bool value = phosphor::dump::elog::deserialize(dumpFile.c_str(), e); in TEST_F()
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | util.hpp | 48 .c_str()); in setPresence() 75 bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH, in setPresence() 86 .c_str()); in setPresence() 109 bus.new_method_call(invService.c_str(), INVENTORY_OBJ_PATH, in setAvailable() 121 .c_str()); in setAvailable() 193 .c_str()); in handleChassisHealthRollup()
|
/openbmc/openpower-pnor-code-mgmt/ |
H A D | item_updater.cpp | 84 entry("OBJPATH=%s", path.c_str())); in createActivation() 181 .c_str()); in erase() 192 .c_str()); in erase() 206 .c_str()); in erase() 242 auto method = bus.new_method_call((mapperResponse.begin()->first).c_str(), in isChassisOn() 260 (mapperResponse.begin()->first).c_str())); in isChassisOn()
|
/openbmc/phosphor-hwmon/test/ |
H A D | fanpwm_unittest.cpp | 40 EXPECT_STREQ(property.c_str(), names[0]); in SetupDbusObject() 70 objPath.c_str(), defer, target); in TEST() 101 objPath.c_str(), defer, target); in TEST() 127 objPath.c_str(), defer, target); in TEST() 168 objPath.c_str(), defer, target); in TEST()
|
/openbmc/sdbusplus/test/exception/ |
H A D | sdbus_error.cpp | 39 SdBusError err(errorVal, prefix.c_str()); in TEST() 89 SdBusError err(errorVal, prefix.c_str()); in TEST() 143 sd_bus_error_set(&error, name.c_str(), description.c_str()); in TEST() 147 SdBusError err(&error, prefix.c_str()); in TEST()
|
/openbmc/openpower-occ-control/test/ |
H A D | utest.cpp | 61 EXPECT_STREQ(parsed.c_str(), ""); in TEST() 69 EXPECT_STREQ(parsed.c_str(), "foo.bar"); in TEST() 77 EXPECT_STREQ(parsed.c_str(), "bar"); in TEST()
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | device_callouts.cpp | 110 throw std::invalid_argument{msg.c_str()}; in getI2CSearchKeys() 150 throw std::invalid_argument{msg.c_str()}; in getFSISearchKeys() 184 throw std::invalid_argument{msg.c_str()}; in getSPISearchKeys() 258 throw std::runtime_error(msg.c_str()); in extractCallouts() 302 throw std::invalid_argument(msg.c_str()); in calloutI2C() 350 throw std::invalid_argument(msg.c_str()); in calloutFSI() 396 throw std::invalid_argument(msg.c_str()); in calloutFSII2C() 435 throw std::invalid_argument(msg.c_str()); in calloutFSISPI() 482 throw std::invalid_argument{msg.c_str()}; in findCallouts()
|
/openbmc/phosphor-debug-collector/ |
H A D | bmc_dump_entry.hpp | 64 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, fileSize, in Entry() 67 EntryIfaces(bus, objPath.c_str(), EntryIfaces::action::defer_emit) in Entry() 152 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, 0, 0, file, in Entry() 155 EntryIfaces(bus, objPath.c_str(), EntryIfaces::action::defer_emit) in Entry()
|
H A D | dump_manager_bmc.cpp | 89 bus, objPath.c_str(), id, timeStamp, 0, std::string(), in createDump() 122 execl("/usr/bin/dreport", "dreport", "-d", dumpPath.c_str(), "-i", in captureDump() 123 id.c_str(), "-s", std::to_string(size).c_str(), "-q", "-v", "-p", in captureDump() 124 path.empty() ? "" : path.c_str(), "-t", strType.c_str(), nullptr); in captureDump() 200 bus, objPath.c_str(), id, timestamp, in createEntry()
|
/openbmc/phosphor-fan-presence/control/json/triggers/ |
H A D | init.cpp | 114 .c_str()); in nameHasOwner() 133 .c_str()); in nameHasOwner() 171 log<level::ERR>(msg.c_str()); in triggerInit() 172 throw std::runtime_error(msg.c_str()); in triggerInit()
|
/openbmc/phosphor-event/ |
H A D | message.cpp | 139 dirp = opendir(eventpath.c_str()); in next_log() 151 id = (uint16_t) atoi(str.c_str()); in next_log() 192 r = stat(fn.c_str(), &f_stat); in get_file_size() 196 fn.c_str(), in get_file_size() 214 dirp = opendir(eventpath.c_str()); in get_managed_size() 223 buffer << eventpath << "/" << str.c_str(); in get_managed_size() 357 std::remove(s.c_str()); in remove()
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | tach_sensor.cpp | 115 _bus, match.c_str(), in TachSensor() 129 _bus, match.c_str(), in TachSensor() 324 .c_str()); in startTimer() 360 .c_str()); in setCounter() 372 .c_str()); in setCounter() 382 std::format("Starting count timer on sensor {}", _name).c_str()); in startCountTimer() 393 .c_str()); in stopCountTimer()
|
/openbmc/openpower-vpd-parser/ |
H A D | ibm_vpd_utils.hpp | 143 bus.new_method_call(service.c_str(), object.c_str(), in readDBusProperty() 174 bus.new_method_call(service.c_str(), object.c_str(), in getAllDBusProperty() 302 unique_file_custom_deleter pipe{popen(cmd.c_str(), "r")}; in executeCmd() 490 bus.new_method_call(service.c_str(), object.c_str(), in setBusProperty()
|