Lines Matching refs:hashval

510 static unsigned long hash(struct super_block *sb, unsigned long hashval)
514 tmp = (hashval * (unsigned long)sb) ^ (GOLDEN_RATIO_PRIME + hashval) /
523 * @hashval: unsigned long value used to locate this object in the
528 void __insert_inode_hash(struct inode *inode, unsigned long hashval)
530 struct hlist_head *b = inode_hashtable + hash(inode->i_sb, hashval);
1138 * @hashval: hash value (usually inode number) to get
1143 * Search for the inode specified by @hashval and @data in the inode cache,
1155 struct inode *inode_insert5(struct inode *inode, unsigned long hashval,
1159 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval);
1211 * @hashval: hash value (usually inode number) to get
1216 * Search for the inode specified by @hashval and @data in the inode cache,
1228 struct inode *iget5_locked(struct super_block *sb, unsigned long hashval,
1232 struct inode *inode = ilookup5(sb, hashval, test, data);
1239 inode = inode_insert5(new, hashval, test, set, data);
1402 * @hashval: hash value (usually inode number) to search for
1406 * Search for the inode specified by @hashval and @data in the inode cache.
1415 struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval,
1418 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1432 * @hashval: hash value (usually inode number) to search for
1436 * Search for the inode specified by @hashval and @data in the inode cache,
1446 struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
1451 inode = ilookup5_nowait(sb, hashval, test, data);
1496 * @hashval: hash value (usually inode number) to search for
1500 * Search for the inode specified by @hashval and @data in the inode
1517 unsigned long hashval,
1522 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1530 mval = match(inode, hashval, data);
1546 * @hashval: Key to hash
1550 * Search for the inode specified by @hashval and @data in the inode cache,
1564 struct inode *find_inode_rcu(struct super_block *sb, unsigned long hashval,
1567 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1588 * Search for the inode specified by @hashval and @data in the inode cache,
1668 int insert_inode_locked4(struct inode *inode, unsigned long hashval,
1674 old = inode_insert5(inode, hashval, test, NULL, data);