Home
last modified time | relevance | path

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

/systemd-251/src/libsystemd/sd-journal/
Djournal-verify.c294 … if ((le64toh(o->object.size) - offsetof(Object, hash_table.items)) % sizeof(HashItem) != 0 || in journal_file_object_verify()
295 … (le64toh(o->object.size) - offsetof(Object, hash_table.items)) / sizeof(HashItem) <= 0) { in journal_file_object_verify()
304 if (o->hash_table.items[i].head_hash_offset != 0 && in journal_file_object_verify()
305 !VALID64(le64toh(o->hash_table.items[i].head_hash_offset))) { in journal_file_object_verify()
310 le64toh(o->hash_table.items[i].head_hash_offset)); in journal_file_object_verify()
313 if (o->hash_table.items[i].tail_hash_offset != 0 && in journal_file_object_verify()
314 !VALID64(le64toh(o->hash_table.items[i].tail_hash_offset))) { in journal_file_object_verify()
319 le64toh(o->hash_table.items[i].tail_hash_offset)); in journal_file_object_verify()
323 if ((o->hash_table.items[i].head_hash_offset != 0) != in journal_file_object_verify()
324 (o->hash_table.items[i].tail_hash_offset != 0)) { in journal_file_object_verify()
[all …]
Djournal-authenticate.c447 if (p < offsetof(Object, hash_table.items)) in journal_file_append_first_tag()
449 p -= offsetof(Object, hash_table.items); in journal_file_append_first_tag()
456 if (p < offsetof(Object, hash_table.items)) in journal_file_append_first_tag()
458 p -= offsetof(Object, hash_table.items); in journal_file_append_first_tag()
Djournal-file.c749 if (sz < offsetof(Object, hash_table.items) || in journal_file_check_object()
750 (sz - offsetof(Object, hash_table.items)) % sizeof(HashItem) != 0 || in journal_file_check_object()
751 (sz - offsetof(Object, hash_table.items)) / sizeof(HashItem) <= 0) in journal_file_check_object()
1041 offsetof(Object, hash_table.items) + s, in journal_file_setup_data_hash_table()
1046 memzero(o->hash_table.items, s); in journal_file_setup_data_hash_table()
1048 f->header->data_hash_table_offset = htole64(p + offsetof(Object, hash_table.items)); in journal_file_setup_data_hash_table()
1070 offsetof(Object, hash_table.items) + s, in journal_file_setup_field_hash_table()
1075 memzero(o->hash_table.items, s); in journal_file_setup_field_hash_table()
1077 f->header->field_hash_table_offset = htole64(p + offsetof(Object, hash_table.items)); in journal_file_setup_field_hash_table()
1682 if (sz < offsetof(Object, hash_table.items)) in journal_file_hash_table_n_items()
[all …]
Djournal-def.h137 HashTableObject hash_table; member