• Home
  • Raw
  • Download

Lines Matching refs:cnid

66 	    node->tree->cnid == HFSPLUS_ATTR_CNID)  in hfs_bnode_read_key()
302 __be32 cnid; in hfs_bnode_dump() local
319 node->tree->cnid == HFSPLUS_ATTR_CNID) in hfs_bnode_dump()
324 hfs_bnode_read(node, &cnid, key_off + tmp, 4); in hfs_bnode_dump()
325 hfs_dbg_cont(BNODE_MOD, ",%d)", be32_to_cpu(cnid)); in hfs_bnode_dump()
340 __be32 cnid; in hfs_bnode_unlink() local
348 cnid = cpu_to_be32(tmp->next); in hfs_bnode_unlink()
349 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
360 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink()
361 hfs_bnode_write(tmp, &cnid, in hfs_bnode_unlink()
384 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash() argument
388 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
390 cnid); in hfs_bnode_findhash()
394 for (node = tree->node_hash[hfs_bnode_hash(cnid)]; in hfs_bnode_findhash()
396 if (node->this == cnid) in hfs_bnode_findhash()
401 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create() argument
410 if (cnid >= tree->node_count) { in __hfs_bnode_create()
412 cnid); in __hfs_bnode_create()
423 node->this = cnid; in __hfs_bnode_create()
427 node->tree->cnid, node->this); in __hfs_bnode_create()
430 node2 = hfs_bnode_findhash(tree, cnid); in __hfs_bnode_create()
432 hash = hfs_bnode_hash(cnid); in __hfs_bnode_create()
446 off = (loff_t)cnid << tree->node_size_shift; in __hfs_bnode_create()
471 node->tree->cnid, node->this, atomic_read(&node->refcnt)); in hfs_bnode_unhash()
619 node->tree->cnid, node->this, in hfs_bnode_get()
632 node->tree->cnid, node->this, in hfs_bnode_put()
666 return tree->cnid == HFSPLUS_CAT_CNID && in hfs_bnode_need_zeroout()