Searched refs:entry_array (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-verify.c | 338 … if ((le64toh(o->object.size) - offsetof(Object, entry_array.items)) % sizeof(le64_t) != 0 || in journal_file_object_verify() 339 … (le64toh(o->object.size) - offsetof(Object, entry_array.items)) / sizeof(le64_t) <= 0) { in journal_file_object_verify() 346 if (!VALID64(le64toh(o->entry_array.next_entry_array_offset))) { in journal_file_object_verify() 349 le64toh(o->entry_array.next_entry_array_offset)); in journal_file_object_verify() 354 if (le64toh(o->entry_array.items[i]) != 0 && in journal_file_object_verify() 355 !VALID64(le64toh(o->entry_array.items[i]))) { in journal_file_object_verify() 359 le64toh(o->entry_array.items[i])); in journal_file_object_verify() 487 next = le64toh(o->entry_array.next_entry_array_offset); in verify_data() 496 q = le64toh(o->entry_array.items[j]); in verify_data() 729 next = le64toh(o->entry_array.next_entry_array_offset); in verify_entry_array() [all …]
|
D | journal-file.c | 765 if (sz < offsetof(Object, entry_array.items) || in journal_file_check_object() 766 (sz - offsetof(Object, entry_array.items)) % sizeof(le64_t) != 0 || in journal_file_check_object() 767 (sz - offsetof(Object, entry_array.items)) / sizeof(le64_t) <= 0) in journal_file_check_object() 773 if (!VALID64(le64toh(o->entry_array.next_entry_array_offset))) in journal_file_check_object() 776 le64toh(o->entry_array.next_entry_array_offset), in journal_file_check_object() 1667 if (sz < offsetof(Object, entry_array.items)) in journal_file_entry_array_n_items() 1670 return (sz - offsetof(Object, entry_array.items)) / sizeof(uint64_t); in journal_file_entry_array_n_items() 1712 o->entry_array.items[i] = htole64(p); in link_entry_into_array() 1719 a = le64toh(o->entry_array.next_entry_array_offset); in link_entry_into_array() 1731 offsetof(Object, entry_array.items) + n * sizeof(uint64_t), in link_entry_into_array() [all …]
|
D | journal-def.h | 138 EntryArrayObject entry_array; member
|
/systemd-251/src/journal/ |
D | managed-journal-file.c | 48 for (uint64_t q = p; q != 0; q = le64toh(o.entry_array.next_entry_array_offset)) { in managed_journal_file_entry_array_punch_hole() 69 offset = p + offsetof(Object, entry_array.items) + in managed_journal_file_entry_array_punch_hole()
|