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