Searched refs:HashItem (Results 1 – 7 of 7) sorted by relevance
28 typedef struct HashItem HashItem; typedef107 struct HashItem { struct114 HashItem items[]; argument
39 #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 …]
80 HashItem *data_hash_table;81 HashItem *field_hash_table;
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()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()
3090 m = le64toh(f->header->field_hash_table_size) / sizeof(HashItem); in sd_journal_enumerate_fields()
108 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()
508 _packed_ struct HashItem {515 HashItem items[];