Lines Matching refs:cnid
67 node->tree->cnid == HFSPLUS_ATTR_CNID) in hfs_bnode_read_key()
301 __be32 cnid; in hfs_bnode_dump() local
318 node->tree->cnid == HFSPLUS_ATTR_CNID) in hfs_bnode_dump()
323 hfs_bnode_read(node, &cnid, key_off + tmp, 4); in hfs_bnode_dump()
324 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); in hfs_bnode_dump()
339 __be32 cnid; in hfs_bnode_unlink() local
347 cnid = cpu_to_be32(tmp->next); in hfs_bnode_unlink()
348 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
359 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink()
360 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
383 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash() argument
387 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
389 cnid); in hfs_bnode_findhash()
393 for (node = tree->node_hash[hfs_bnode_hash(cnid)]; in hfs_bnode_findhash()
395 if (node->this == cnid) in hfs_bnode_findhash()
400 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create() argument
408 if (cnid >= tree->node_count) { in __hfs_bnode_create()
410 cnid); in __hfs_bnode_create()
420 node->this = cnid; in __hfs_bnode_create()
424 node->tree->cnid, node->this); in __hfs_bnode_create()
427 node2 = hfs_bnode_findhash(tree, cnid); in __hfs_bnode_create()
429 hash = hfs_bnode_hash(cnid); in __hfs_bnode_create()
443 off = (loff_t)cnid << tree->node_size_shift; in __hfs_bnode_create()
468 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_unhash()
616 node->tree->cnid, node->this, in hfs_bnode_get()
629 node->tree->cnid, node->this, in hfs_bnode_put()
663 return tree->cnid == HFSPLUS_CAT_CNID && in hfs_bnode_need_zeroout()