Home
last modified time | relevance | path

Searched refs:EntryItem (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Djournal-def.h27 typedef struct EntryItem EntryItem; typedef
88 struct EntryItem { struct
100 EntryItem items[]; \ argument
Djournal-file.c710 (sz - offsetof(Object, entry.items)) % sizeof(EntryItem) != 0) in journal_file_check_object()
717 if ((sz - offsetof(Object, entry.items)) / sizeof(EntryItem) <= 0) in journal_file_check_object()
720 … (sz - offsetof(Object, entry.items)) / sizeof(EntryItem), in journal_file_check_object()
1655 return (sz - offsetof(Object, entry.items)) / sizeof(EntryItem); in journal_file_entry_n_items()
1869 const EntryItem items[], unsigned n_items, in journal_file_append_entry_internal()
1882 osize = offsetof(Object, entry.items) + (n_items * sizeof(EntryItem)); in journal_file_append_entry_internal()
1889 memcpy_safe(o->entry.items, items, n_items * sizeof(EntryItem)); in journal_file_append_entry_internal()
2005 static int entry_item_cmp(const EntryItem *a, const EntryItem *b) { in entry_item_cmp()
2009 static size_t remove_duplicate_entry_items(EntryItem items[], size_t n) { in remove_duplicate_entry_items()
2032 EntryItem *items; in journal_file_append_entry()
[all …]
Djournal-verify.c243 … if ((le64toh(o->object.size) - offsetof(Object, entry.items)) % sizeof(EntryItem) != 0) { in journal_file_object_verify()
251 … if ((le64toh(o->object.size) - offsetof(Object, entry.items)) / sizeof(EntryItem) <= 0) { in journal_file_object_verify()
254 … (le64toh(o->object.size) - offsetof(Object, entry.items)) / sizeof(EntryItem)); in journal_file_object_verify()
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md460 _packed_ struct EntryItem {
472 EntryItem items[];