Searched refs:current_offset (Results 1 - 5 of 5) sorted by relevance

/systemd/src/journal/
H A Dtest-journal-flush.c54 assert_se(f && f->current_offset > 0);
56 r = journal_file_move_to_object(f, OBJECT_ENTRY, f->current_offset, &o);
59 r = journal_file_copy_entry(f, new_journal, o, f->current_offset, NULL, NULL, NULL);
H A Dsd-journal.c744 return journal_file_next_entry(f, f->current_offset, direction, ret, offset);
749 direction == DIRECTION_DOWN ? f->current_offset + 1
750 : f->current_offset - 1,
772 if (f->last_direction == direction && f->current_offset > 0) {
861 r = journal_file_move_to_object(new_file, OBJECT_ENTRY, new_file->current_offset, &o);
925 if (!j->current_file || j->current_file->current_offset <= 0)
928 r = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o);
1059 if (!j->current_file || j->current_file->current_offset <= 0)
1062 r = journal_file_move_to_object(j->current_file, OBJECT_ENTRY, j->current_file->current_offset, &o);
1831 if (f->current_offset <
[all...]
H A Djournal-file.h93 uint64_t current_offset; member in struct:JournalFile
H A Djournald-server.c1095 assert(f && f->current_offset > 0);
1099 r = journal_file_move_to_object(f, OBJECT_ENTRY, f->current_offset, &o);
1105 r = journal_file_copy_entry(f, s->system_journal, o, f->current_offset, NULL, NULL, NULL);
1124 r = journal_file_copy_entry(f, s->system_journal, o, f->current_offset, NULL, NULL, NULL);
H A Djournal-file.c2149 f->current_offset = 0;
2159 f->current_offset = offset;

Completed in 79 milliseconds