Lines Matching +full:auto +full:- +full:poll

8  *     http://www.apache.org/licenses/LICENSE-2.0
35 static auto pollStat(std::uint16_t session, ipmiblob::BlobInterface* blob, in pollStat()
40 constexpr auto maxSleep = 1s; in pollStat()
41 constexpr auto printInterval = 30s; in pollStat()
42 constexpr auto timeout = 30min; in pollStat()
46 auto start = std::chrono::steady_clock::now(); in pollStat()
47 auto last_print = start; in pollStat()
48 auto last_check = start; in pollStat()
49 auto check_interval = 50ms; in pollStat()
53 ipmiblob::StatResponse resp = blob->getStat(session); in pollStat()
54 auto ret = check(resp); in pollStat()
61 auto cur = std::chrono::steady_clock::now(); in pollStat()
62 if (cur - last_print >= printInterval) in pollStat()
68 auto sleep = check_interval - (cur - last_check); in pollStat()
72 if (cur - start > timeout - sleep) in pollStat()
88 /* Poll an open verification session. Handling closing the session is not yet
94 [](const ipmiblob::StatResponse& resp) -> std::optional<bool> { in pollStatus()
99 auto result = in pollStatus()
116 /* Poll an open blob session for reading.
122 * - The open_read bit set -> stat successful
123 * - The open_read and committing bits unset -> stat failed;
124 * - Blob exception was received;
125 * - Time ran out.
134 [](const ipmiblob::StatResponse& resp) -> std::optional<uint32_t> { in pollReadReady()
156 auto src64 = reinterpret_cast<const volatile std::uint64_t*>(source); in memcpyAligned()
157 auto dest64 = reinterpret_cast<volatile std::uint64_t*>(destination); in memcpyAligned()
166 auto srcMem8 = reinterpret_cast<const volatile std::uint8_t*>(source) + in memcpyAligned()
168 auto destMem8 = reinterpret_cast<volatile std::uint8_t*>(destination) + in memcpyAligned()