Lines Matching refs:num
467 static inline int hfs_bnode_hash(u32 num) in hfs_bnode_hash() argument
469 num = (num >> 16) + num; in hfs_bnode_hash()
470 num += num >> 8; in hfs_bnode_hash()
471 return num & (NODE_HASH_SIZE - 1); in hfs_bnode_hash()
565 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find() argument
573 node = hfs_bnode_findhash(tree, num); in hfs_bnode_find()
584 node = __hfs_bnode_create(tree, num); in hfs_bnode_find()
660 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create() argument
667 node = hfs_bnode_findhash(tree, num); in hfs_bnode_create()
670 pr_crit("new node %u already hashed?\n", num); in hfs_bnode_create()
674 node = __hfs_bnode_create(tree, num); in hfs_bnode_create()