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);
1174 * @hashval: hash value (usually inode number) to get
1179 * Search for the inode specified by @hashval and @data in the inode cache,
1191 struct inode *inode_insert5(struct inode *inode, unsigned long hashval,
1195 struct hlist_head *head = inode_hashtable + hash(inode->i_sb, hashval);
1247 * @hashval: hash value (usually inode number) to get
1252 * Search for the inode specified by @hashval and @data in the inode cache,
1264 struct inode *iget5_locked(struct super_block *sb, unsigned long hashval,
1268 struct inode *inode = ilookup5(sb, hashval, test, data);
1275 inode = inode_insert5(new, hashval, test, set, data);
1438 * @hashval: hash value (usually inode number) to search for
1442 * Search for the inode specified by @hashval and @data in the inode cache.
1451 struct inode *ilookup5_nowait(struct super_block *sb, unsigned long hashval,
1454 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1468 * @hashval: hash value (usually inode number) to search for
1472 * Search for the inode specified by @hashval and @data in the inode cache,
1482 struct inode *ilookup5(struct super_block *sb, unsigned long hashval,
1487 inode = ilookup5_nowait(sb, hashval, test, data);
1532 * @hashval: hash value (usually inode number) to search for
1536 * Search for the inode specified by @hashval and @data in the inode
1553 unsigned long hashval,
1558 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1566 mval = match(inode, hashval, data);
1582 * @hashval: Key to hash
1586 * Search for the inode specified by @hashval and @data in the inode cache,
1600 struct inode *find_inode_rcu(struct super_block *sb, unsigned long hashval,
1603 struct hlist_head *head = inode_hashtable + hash(sb, hashval);
1624 * Search for the inode specified by @hashval and @data in the inode cache,
1704 int insert_inode_locked4(struct inode *inode, unsigned long hashval,
1710 old = inode_insert5(inode, hashval, test, NULL, data);