Home
last modified time | relevance | path

Searched refs:seqnum_id (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Djournal-vacuum.c28 sd_id128_t seqnum_id; member
37 sd_id128_equal(a->seqnum_id, b->seqnum_id)) in vacuum_compare()
45 return memcmp(&a->seqnum_id, &b->seqnum_id, 16); in vacuum_compare()
147 sd_id128_t seqnum_id; in journal_directory_vacuum() local
187 if (sd_id128_from_string(de->d_name + q-8-16-1-16-1-32, &seqnum_id) < 0) { in journal_directory_vacuum()
203 seqnum_id = SD_ID128_NULL; in journal_directory_vacuum()
271 .seqnum_id = seqnum_id, in journal_directory_vacuum()
Dsd-journal.c122 .seqnum_id = f->header->seqnum_id, in init_location()
447 sd_id128_equal(f->header->seqnum_id, l->seqnum_id) && in compare_with_location()
453 sd_id128_equal(f->header->seqnum_id, l->seqnum_id)) { in compare_with_location()
616 …current_location.seqnum_set && sd_id128_equal(j->current_location.seqnum_id, f->header->seqnum_id)) in find_location_for_match()
711 …current_location.seqnum_set && sd_id128_equal(j->current_location.seqnum_id, f->header->seqnum_id)) in find_location_with_matches()
940 … SD_ID128_TO_STRING(j->current_file->header->seqnum_id), le64toh(o->entry.seqnum), in sd_journal_get_cursor()
957 sd_id128_t seqnum_id, boot_id; in sd_journal_seek_cursor() local
979 r = sd_id128_from_string(word + 2, &seqnum_id); in sd_journal_seek_cursor()
1032 j->current_location.seqnum_id = seqnum_id; in sd_journal_seek_cursor()
1087 if (!sd_id128_equal(id, j->current_file->header->seqnum_id)) in sd_journal_test_cursor()
Djournal-internal.h50 sd_id128_t seqnum_id; member
Djournal-authenticate.c304 …gcry_md_write(f->hmac, &f->header->seqnum_id, offsetof(Header, arena_size) - offsetof(Header, seqn… in journal_file_hmac_put_header()
Djournal-def.h192 sd_id128_t seqnum_id; \
Djournal-file.c326 h.seqnum_id = template->header->seqnum_id; in journal_file_init_header()
329 h.seqnum_id = h.file_id; in journal_file_init_header()
2867 sd_id128_equal(af->header->seqnum_id, bf->header->seqnum_id) && in journal_file_compare_locations()
2871 if (sd_id128_equal(af->header->seqnum_id, bf->header->seqnum_id)) { in journal_file_compare_locations()
3254 SD_ID128_TO_STRING(f->header->seqnum_id), in journal_file_print_header()
3680 SD_ID128_FORMAT_VAL(f->header->seqnum_id), in journal_file_archive()
/systemd-251/src/journal/
Dtest-journal-interleaving.c214 sd_id128_t seqnum_id; in TEST() local
234 assert_se(sd_id128_equal(one->file->header->file_id, one->file->header->seqnum_id)); in TEST()
236 memcpy(&seqnum_id, &one->file->header->seqnum_id, sizeof(sd_id128_t)); in TEST()
245 assert_se(sd_id128_equal(one->file->header->seqnum_id, one->file->header->seqnum_id)); in TEST()
272 assert_se(sd_id128_equal(two->file->header->seqnum_id, seqnum_id)); in TEST()
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md155 sd_id128_t seqnum_id;
309 **seqnum_id** field. This field is randomly generated when the journal daemon
311 should hence carry the same seqnum_id. This should guarantee a monotonic stream