Lines Matching defs:hash
153 h1 = le64toh(o->data.hash);
175 error(offset, "Invalid hash (%08"PRIx64" vs. %08"PRIx64, h1, h2);
268 "Invalid %s hash table size: %"PRIu64,
278 "Invalid %s hash table item (%"PRIu64"/%"PRIu64") head_hash_offset: "OFSfmt,
287 "Invalid %s hash table item (%"PRIu64"/%"PRIu64") tail_hash_offset: "OFSfmt,
297 "Invalid %s hash table item (%"PRIu64"/%"PRIu64"): head_hash_offset="OFSfmt" tail_hash_offset="OFSfmt,
596 return log_error_errno(r, "Failed to map data hash table: %m");
610 error(p, "Invalid data object at hash entry %"PRIu64" of %"PRIu64, i, n);
620 error(p, "Hash chain has a cycle in hash entry %"PRIu64" of %"PRIu64, i, n);
624 if (le64toh(o->data.hash) % n != i) {
625 error(p, "Hash value mismatch in hash entry %"PRIu64" of %"PRIu64, i, n);
638 error(p, "Tail hash pointer mismatch in hash table");
646 static int data_object_in_hash_table(JournalFile *f, uint64_t hash, uint64_t p) {
657 return log_error_errno(r, "Failed to map data hash table: %m");
659 h = hash % n;
696 h = le64toh(o->entry.items[i].hash);
707 if (le64toh(u->data.hash) != h) {
716 error(p, "Data object missing from hash table");
999 error(p, "More than one data hash table");
1006 error(p, "header fields for data hash table invalid");
1016 error(p, "More than one field hash table");
1023 error(p, "Header fields for field hash table invalid");
1223 * two entry points: the object hash table and the entry
1225 * or indirectly) in the data hash table also exists in the