Searched refs:GOLDEN_RATIO_PRIME (Results 1 – 5 of 5) sorted by relevance
15 #define GOLDEN_RATIO_PRIME GOLDEN_RATIO_32 macro19 #define GOLDEN_RATIO_PRIME GOLDEN_RATIO_64 macro
63 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()65 tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) >> inode_hash_shift); in inode_hash()
277 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
512 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()514 tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) >> i_hash_shift); in hash()