Home
last modified time | relevance | path

Searched refs:HashItem (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/libsystemd/sd-journal/
Djournal-def.h28 typedef struct HashItem HashItem; typedef
107 struct HashItem { struct
114 HashItem items[]; argument
Djournal-file.c39 #define DEFAULT_DATA_HASH_TABLE_SIZE (2047ULL*sizeof(HashItem))
40 #define DEFAULT_FIELD_HASH_TABLE_SIZE (333ULL*sizeof(HashItem))
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()
1033 s = (f->metrics.max_size * 4 / 768 / 3) * sizeof(HashItem); in journal_file_setup_data_hash_table()
1037 log_debug("Reserving %"PRIu64" entries in data hash table.", s / sizeof(HashItem)); in journal_file_setup_data_hash_table()
1066 log_debug("Reserving %"PRIu64" entries in field hash table.", s / sizeof(HashItem)); in journal_file_setup_field_hash_table()
1153 m = le64toh(READ_NOW(f->header->field_hash_table_size)) / sizeof(HashItem); in journal_file_link_field()
1198 m = le64toh(READ_NOW(f->header->data_hash_table_size)) / sizeof(HashItem); in journal_file_link_data()
1280 m = le64toh(READ_NOW(f->header->field_hash_table_size)) / sizeof(HashItem); in journal_file_find_field_object_with_hash()
[all …]
Djournal-file.h80 HashItem *data_hash_table;
81 HashItem *field_hash_table;
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()
545 n = le64toh(f->header->data_hash_table_size) / sizeof(HashItem); in verify_data_hash_table()
609 n = le64toh(f->header->data_hash_table_size) / sizeof(HashItem); in data_object_in_hash_table()
Dsd-journal.c3090 m = le64toh(f->header->field_hash_table_size) / sizeof(HashItem); in sd_journal_enumerate_fields()
/systemd-251/src/journal/
Dmanaged-journal-file.c108 HashItem items[PAYLOAD_BUFFER_SIZE / sizeof(HashItem)]; in managed_journal_file_punch_holes()
128 n -= n % sizeof(HashItem); in managed_journal_file_punch_holes()
130 for (size_t j = 0; j < (size_t) n / sizeof(HashItem); j++) { in managed_journal_file_punch_holes()
/systemd-251/docs/
DJOURNAL_FILE_FORMAT.md508 _packed_ struct HashItem {
515 HashItem items[];