Lines Matching defs:node
40 and GetNode() are used to request a block/tree node from disk,
133 Tree::GetNode(uint64 blockNumber, Node **node)
135 status_t error = (node ? InitCheck() : B_BAD_VALUE);
143 *node = block->ToNode();
144 // check the node
145 if (!(*node)->IsChecked()) {
146 if ((*node)->IsInternal())
147 error = (*node)->ToInternalNode()->Check();
148 else if ((*node)->IsLeaf())
149 error = (*node)->ToLeafNode()->Check();
153 (*node)->SetChecked(true);