Searched refs:hash_table (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-verify.c | 294 … 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 …]
|
D | journal-authenticate.c | 447 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()
|
D | journal-file.c | 749 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 …]
|
D | journal-def.h | 137 HashTableObject hash_table; member
|