Home
last modified time | relevance | path

Searched refs:hash_seeds (Results 1 – 2 of 2) sorted by relevance

/linux/fs/bcachefs/
H A Dbuckets_waiting_for_journal.c12 return t->d + hash_64(dev_bucket ^ t->hash_seeds[hash_seed_idx], t->bits); in bucket_hash()
20 for (i = 0; i < ARRAY_SIZE(t->hash_seeds); i++) in bucket_table_init()
21 get_random_bytes(&t->hash_seeds[i], sizeof(t->hash_seeds[i])); in bucket_table_init()
37 for (i = 0; i < ARRAY_SIZE(t->hash_seeds); i++) { in bch2_bucket_needs_journal_commit()
61 for (i = 0; i < ARRAY_SIZE(t->hash_seeds); i++) { in bucket_table_insert()
H A Dbuckets_waiting_for_journal_types.h14 u64 hash_seeds[3]; member