Lines Matching refs:readState
272 JournalReadState&& readState) in readJournalEntries() argument
301 readState = std::move(readState)]() mutable { in readJournalEntries()
303 std::move(readState)); in readJournalEntries()
311 int ret = sd_journal_get_monotonic_usec(readState.journal.get(), &curTs, in readJournalEntries()
322 bool sameBootIDs = sd_id128_equal(curBootID, readState.prevBootID) != 0; in readJournalEntries()
323 if (sameBootIDs && (curTs == readState.prevTs)) in readJournalEntries()
325 readState.index++; in readJournalEntries()
330 readState.index = 0; in readJournalEntries()
334 readState.prevBootID = curBootID; in readJournalEntries()
337 readState.prevTs = curTs; in readJournalEntries()
339 std::string idStr = getUniqueEntryID(readState.index, curTs, curBootID); in readJournalEntries()
342 if (!fillBMCJournalLogEntryJson(idStr, readState.journal.get(), in readJournalEntries()
350 ret = sd_journal_next(readState.journal.get()); in readJournalEntries()