Lines Matching refs:hash
100 u32 hash = seed; in hash_32() local
104 hash = hash * 293 + s[i]; in hash_32()
105 return hash; in hash_32()
134 static pgoff_t hash_index(u32 hash, int round) in hash_index() argument
143 return hash % i0_blocks; in hash_index()
145 return i0_blocks + hash % (i1_blocks - i0_blocks); in hash_index()
147 return i1_blocks + hash % (i2_blocks - i1_blocks); in hash_index()
149 return i2_blocks + hash % (i3_blocks - i2_blocks); in hash_index()
151 return i3_blocks + 16 * (hash % (((1<<31) - i3_blocks) / 16)) in hash_index()
162 u32 hash = hash_32(name->name, name->len, 0); in logfs_get_dd_page() local
170 index = hash_index(hash, round); in logfs_get_dd_page()
373 u32 hash = hash_32(dentry->d_name.name, dentry->d_name.len, 0); in logfs_write_dir() local
378 index = hash_index(hash, round); in logfs_write_dir()