Lines Matching refs:num
212 static inline int hfs_bnode_hash(u32 num) in hfs_bnode_hash() argument
214 num = (num >> 16) + num; in hfs_bnode_hash()
215 num += num >> 8; in hfs_bnode_hash()
216 return num & (NODE_HASH_SIZE - 1); in hfs_bnode_hash()
315 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find() argument
323 node = hfs_bnode_findhash(tree, num); in hfs_bnode_find()
333 node = __hfs_bnode_create(tree, num); in hfs_bnode_find()
408 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create() argument
415 node = hfs_bnode_findhash(tree, num); in hfs_bnode_create()
418 pr_crit("new node %u already hashed?\n", num); in hfs_bnode_create()
422 node = __hfs_bnode_create(tree, num); in hfs_bnode_create()