Lines Matching refs:cnid

65 	    node->tree->cnid == HFSPLUS_ATTR_CNID)  in hfs_bnode_read_key()
294 __be32 cnid; in hfs_bnode_dump() local
311 node->tree->cnid == HFSPLUS_ATTR_CNID) in hfs_bnode_dump()
316 hfs_bnode_read(node, &cnid, key_off + tmp, 4); in hfs_bnode_dump()
317 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); in hfs_bnode_dump()
332 __be32 cnid; in hfs_bnode_unlink() local
340 cnid = cpu_to_be32(tmp->next); in hfs_bnode_unlink()
341 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
352 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink()
353 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
376 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash() argument
380 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
382 cnid); in hfs_bnode_findhash()
386 for (node = tree->node_hash[hfs_bnode_hash(cnid)]; in hfs_bnode_findhash()
388 if (node->this == cnid) in hfs_bnode_findhash()
393 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create() argument
401 if (cnid >= tree->node_count) { in __hfs_bnode_create()
403 cnid); in __hfs_bnode_create()
413 node->this = cnid; in __hfs_bnode_create()
417 node->tree->cnid, node->this); in __hfs_bnode_create()
420 node2 = hfs_bnode_findhash(tree, cnid); in __hfs_bnode_create()
422 hash = hfs_bnode_hash(cnid); in __hfs_bnode_create()
436 off = (loff_t)cnid << tree->node_size_shift; in __hfs_bnode_create()
457 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_unhash()
603 node->tree->cnid, node->this, in hfs_bnode_get()
616 node->tree->cnid, node->this, in hfs_bnode_put()
650 return tree->cnid == HFSPLUS_CAT_CNID && in hfs_bnode_need_zeroout()