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
70 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in inode_hash()72 tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) >> inode_hash_shift); in inode_hash()
364 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
564 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) / in hash()566 tmp = tmp ^ ((tmp ^ GOLDEN_RATIO_PRIME) >> i_hash_shift); in hash()