Lines Matching refs:num
317 static inline int hfs_bnode_hash(u32 num) in hfs_bnode_hash() argument
319 num = (num >> 16) + num; in hfs_bnode_hash()
320 num += num >> 8; in hfs_bnode_hash()
321 return num & (NODE_HASH_SIZE - 1); in hfs_bnode_hash()
415 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find() argument
423 node = hfs_bnode_findhash(tree, num); in hfs_bnode_find()
433 node = __hfs_bnode_create(tree, num); in hfs_bnode_find()
509 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create() argument
516 node = hfs_bnode_findhash(tree, num); in hfs_bnode_create()
519 pr_crit("new node %u already hashed?\n", num); in hfs_bnode_create()
523 node = __hfs_bnode_create(tree, num); in hfs_bnode_create()