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