/openbmc/openbmc/meta-phosphor/recipes-phosphor/initrdscripts/phosphor-static-norootfs-init/ |
H A D | remount-filesystem-readonly | 5 retries=3 7 echo "Attempting to remount $mount_point as read-only with a number of $retries retries" 9 while [ "$retries" -gt 0 ]; do 13 retries=$((retries - 1))
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c.cpp | 33 int ret = 0, retries = 0; in getFuncs() local 37 } while ((ret < 0) && (++retries <= maxRetries)); in getFuncs() 158 int ret = 0, retries = 0; in processCallSMBus() local 166 } while ((ret < 0) && (++retries <= maxRetries)); in processCallSMBus() 199 int ret = 0, retries = 0; in processCallI2C() local 227 } while ((ret != numMessages) && (++retries <= maxRetries)); in processCallI2C() 255 int retries = 0; in open() local 259 } while ((fd == -1) && (++retries <= maxRetries)); in open() 266 retries = 0; in open() 271 } while ((ret < 0) && (++retries <= maxRetries)); in open() [all …]
|
/openbmc/estoraged/src/ |
H A D | getConfig.cpp | 32 const std::string& path, const std::string& owner, size_t retries) in getStorageInfo() argument 36 [self, path, owner, retries]( in getStorageInfo() 42 "Error getting properties for {PATH}: {RETRIES} retries left", in getStorageInfo() 43 "PATH", path, "RETRIES", retries - 1, "REDFISH_MESSAGE_ID", in getStorageInfo() 45 if (retries == 0U) in getStorageInfo() 54 retries](boost::system::error_code ec) { in getStorageInfo() 60 self->getStorageInfo(path, owner, retries - 1); in getStorageInfo()
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-networking/mctp/files/ |
H A D | setup-local-eid | 12 retries=0 14 while [ $retries -lt $maxRetries ]; do 18 retries=$((retries + 1)) 19 echo "Retry $retries/$maxRetries: Command failed. Retrying in $retryInterval seconds..."
|
H A D | setup-bic-eid | 13 local retries=0 15 while [ "$retries" -lt "$maxRetries" ]; do 23 retries=$((retries + 1)) 28 echo "[Error] Command failed after $maxRetries retries." >&2
|
/openbmc/dbus-sensors/src/ |
H A D | Utils.hpp | 266 const std::string& owner, size_t retries = 5) in getPath() 268 if (retries > 5) in getPath() 270 retries = 5; in getPath() 275 [self, path, interface, owner, retries]( in getPath() 279 if (retries == 0U) in getPath() 281 lg2::error("Error getting '{PATH}': no retries left", in getPath() 286 "Error getting '{PATH}': '{RETRIES}' retries left", in getPath() 287 "PATH", path, "RETRIES", retries - 1); in getPath() 292 retries](boost::system::error_code ec) { in getPath() 299 self->getPath(path, interface, owner, retries - 1); in getPath() [all …]
|
H A D | Utils.cpp | 354 size_t retries = 2) in getPowerStatus() argument 357 [conn, retries](boost::system::error_code ec, in getPowerStatus() 361 if (retries != 0U) in getPowerStatus() 367 [timer, conn, retries](boost::system::error_code) { in getPowerStatus() 368 getPowerStatus(conn, retries - 1); in getPowerStatus() 387 size_t retries = 2) in getPostStatus() argument 390 [conn, retries](boost::system::error_code ec, in getPostStatus() 394 if (retries != 0U) in getPostStatus() 400 [timer, conn, retries](boost::system::error_code) { in getPostStatus() 401 getPostStatus(conn, retries - 1); in getPostStatus() [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_command.cpp | 126 int retries = 1; // Allow a retry if a command fails to get valid response in send() local 134 … "OccCommand::send: write(OCC{INST}, command:{CMD}) failed with errno={ERR} (retries={RETRIES})", in send() 136 writeErrno, "RETRIES", retries); in send() 172 …d::send: read(OCC{INST}, command:{CMD) failed with errno={ERR} (rspSize={LEN}, retries={RETRIES})", in send() 174 readErrno, "LEN", response.size(), "RETRIES", retries); in send() 246 if (retries > 0) in send() 251 } while (retries-- > 0); in send()
|
/openbmc/phosphor-hwmon/ |
H A D | hwmonio.hpp | 9 static constexpr auto retries = 10; variable 46 const std::string& sensor, size_t retries, 51 size_t retries, 97 * @param[in] retries - The number of times to retry. 103 const std::string& sensor, size_t retries, 119 * @param[in] retries - The number of times to retry. 123 const std::string& sensor, size_t retries,
|
H A D | hwmonio.cpp | 113 const std::string& sensor, size_t retries, in read() argument 149 !retries) in read() 151 // Not a retryable error or out of retries. in read() 161 --retries; in read() 173 size_t retries, std::chrono::milliseconds delay) const in write() argument 203 !retries) in write() 205 // Not a retryable error or out of retries. in write() 212 --retries; in write()
|
/openbmc/u-boot/include/ |
H A D | ata.h | 76 #define ATA_CMD_READ 0x20 /* Read Sectors (with retries) */ 77 #define ATA_CMD_READN 0x21 /* Read Sectors ( no retries) */ 78 #define ATA_CMD_WRITE 0x30 /* Write Sectores (with retries)*/ 79 #define ATA_CMD_WRITEN 0x31 /* Write Sectors ( no retries)*/ 80 #define ATA_CMD_VRFY 0x40 /* Read Verify (with retries) */ 81 #define ATA_CMD_VRFYN 0x41 /* Read verify ( no retries) */ 88 #define ATA_CMD_RD_DMA 0xC8 /* Read DMA (with retries) */ 89 #define ATA_CMD_RD_DMAN 0xC9 /* Read DMS ( no retries) */ 90 #define ATA_CMD_WR_DMA 0xCA /* Write DMA (with retries) */ 96 #define ATA_CMD_READ_EXT 0x24 /* Read Sectors (with retries) with 48bit addressing */ [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | az.py | 43 # Override download method, include retries 44 def download(self, ud, d, retries=3): argument 82 … logger.debug2('Unable to establish SSL connection: Retries remaining: %s, Retrying...' % retries) 83 self.download(ud, d, retries -1)
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | device-util | 14 retries="$3" 16 retries=1 25 while [ "$retry" -lt "$retries" ]; do
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-google/acpi-power-state/acpi-power-state-daemon/ |
H A D | gbs-set-failsafe.sh | 29 retries=4 32 while (( retries > 0 )) && (( busctl_error != 0 )); do 42 (( retries-=1 )) || true
|
/openbmc/pldm/requester/ |
H A D | request.hpp | 45 * @param[in] numRetries - number of request retries 55 /** @brief Starts the request flow and arms the timer for request retries 85 /** @brief Stops the timer and no further request retries happen */ 98 uint8_t numRetries; //!< number of request retries 149 * @param[in] numRetries - number of request retries
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ResolutionStep.v1_0_1.json | 76 "description": "The number of retries for a resolution step.", 77 … "longDescription": "This property shall contain the number of the retries for a resolution step.", 86 "description": "The interval between retries for a resolution step.", 87 …ion": "This property shall contain the interval, in seconds, between the retries for a resolution …
|
H A D | OutboundConnection.v1_0_2.json | 306 "None": "No retries.", 312 …val specified by the `RetryIntervalMinutes` property until the number of retries reaches the count… 313 …the interval specified by the `RetryIntervalMinutes` property regardless of the number of retries." 350 …"description": "The number of retries to attempt if the retry policy specifies a maximum number of… 351 … property shall contain the number of retries to attempt if the retry policy specifies a maximum n…
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | meson-gxl.c | 29 * in some cases, it may take up to 6 retries to get a decent result 33 unsigned int retries = 10; in meson_gxl_startup() local 78 if (!retries) { in meson_gxl_startup() 91 --retries; in meson_gxl_startup()
|
/openbmc/qemu/tests/functional/ |
H A D | test_virtio_balloon.py | 77 retries = 10 79 while when == 0 and retries: 85 retries = retries - 1
|
/openbmc/entity-manager/src/entity_manager/ |
H A D | perform_scan.cpp | 34 size_t retries = 5) in getInterfaces() argument 36 if (retries == 0U) in getInterfaces() 38 std::cerr << "retries exhausted on " << instance.busName << " " in getInterfaces() 44 [instance, scan, probeVector, retries, in getInterfaces() 55 timer->async_wait([timer, instance, scan, probeVector, retries, in getInterfaces() 57 getInterfaces(instance, probeVector, scan, io, retries - 1); in getInterfaces() 102 size_t retries = 5) in findDbusObjects() argument 119 [interfaces, probeVector{std::move(probeVector)}, scan, retries, in findDbusObjects() 130 if (retries == 0U) in findDbusObjects() 142 probeVector{std::move(probeVector)}, retries, in findDbusObjects() [all …]
|
/openbmc/pldm/requester/test/ |
H A D | request_test.cpp | 66 // send() is called a total of 3 times, the original plus two retries 78 // send() will be called a total of 10 times, the original plus 9 retries. 82 // situation where the Instance ID expires before the all the retries have
|
/openbmc/openpower-vpd-parser/wait-vpd-parser/src/ |
H A D | wait_vpd_parser.cpp | 18 * uses a retry loop with a specific number of retries with specific sleep time 21 * @param[in] i_retryLimit - Maximum number of retries 60 "Waiting for VPD status update. Retries remaining: " + in checkVpdCollectionStatus()
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp.sh | 41 local retries="${4-}" 55 if [[ -n "$retries" ]]; then 56 json_output+=",\"retries\":\"$retries\""
|
/openbmc/qemu/tests/qtest/ |
H A D | ipmi-kcs-test.c | 157 unsigned int retries = 4; in kcs_abort() local 192 g_assert(retries > 0); in kcs_abort() 201 retries--; in kcs_abort() 209 retries--; in kcs_abort()
|
/openbmc/estoraged/include/ |
H A D | getConfig.hpp | 62 * @param[in] retries - (optional) Number of times to retry, if needed. 65 size_t retries = 5);
|