Lines Matching refs:realtime
100 static int journal_file_get_epoch(JournalFile *f, uint64_t realtime, uint64_t *epoch) {
111 if (realtime < f->fss_start_usec)
114 t = realtime - f->fss_start_usec;
121 static int journal_file_fsprg_need_evolve(JournalFile *f, uint64_t realtime) {
129 r = journal_file_get_epoch(f, realtime, &goal);
140 int journal_file_fsprg_evolve(JournalFile *f, uint64_t realtime) {
149 r = journal_file_get_epoch(f, realtime, &goal);
206 int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime) {
214 if (realtime <= 0)
215 realtime = now(CLOCK_REALTIME);
217 r = journal_file_fsprg_need_evolve(f, realtime);
225 r = journal_file_fsprg_evolve(f, realtime);