Lines Matching refs:header
60 <MOSXS> 03/23/98 djb In BTOpenPath use kTrashBlock option when releasing the header so
124 <18> 7/22/94 wjk Convert to the new set of header files.
157 * The amount that the BTree header leaf count can be wrong before we assume
190 BTHeaderRec *header;
257 Panic("BTOpen: getNodeProc returned error getting header node.");
261 header = (BTHeaderRec*) ((uintptr_t)nodeRec.buffer + sizeof(BTNodeDescriptor));
264 ///////////////////////////// verify header /////////////////////////////////
266 err = VerifyHeader (filePtr, header);
270 ///////////////////// Initalize fields from header //////////////////////////
272 PanicIf ( (FCBTOVCB(filePtr)->vcbSigWord != 0x4244) && (header->nodeSize == 512), " BTOpenPath: wrong node size for HFS+ volume!"); // 0x4244 = 'BD'
274 btreePtr->treeDepth = header->treeDepth;
275 btreePtr->rootNode = header->rootNode;
276 btreePtr->leafRecords = header->leafRecords;
277 btreePtr->firstLeafNode = header->firstLeafNode;
278 btreePtr->lastLeafNode = header->lastLeafNode;
279 btreePtr->nodeSize = header->nodeSize;
280 btreePtr->maxKeyLength = header->maxKeyLength;
281 btreePtr->totalNodes = header->totalNodes;
282 btreePtr->freeNodes = header->freeNodes;
284 filePtr->ff_clumpsize = header->clumpSize;
285 btreePtr->btreeType = header->btreeType;
287 btreePtr->keyCompareType = header->keyCompareType;
289 btreePtr->attributes = header->attributes;
384 Function: Flush the BTreeControlBlock fields to header node, and delete BTree control
878 * process more leaf records, than can possibly be (or the BTree header
1842 Function: Reload B-tree header data from disk. This is called after fsck
1847 Input: filePtr - the B*Tree file that needs its header updated
1861 BTHeaderRec *header;
1877 header = (BTHeaderRec*)((char *)node.buffer + sizeof(BTNodeDescriptor));
1878 if ((err = VerifyHeader (filePtr, header)) == 0) {
1879 btreePtr->treeDepth = header->treeDepth;
1880 btreePtr->rootNode = header->rootNode;
1881 btreePtr->leafRecords = header->leafRecords;
1882 btreePtr->firstLeafNode = header->firstLeafNode;
1883 btreePtr->lastLeafNode = header->lastLeafNode;
1884 btreePtr->maxKeyLength = header->maxKeyLength;
1885 btreePtr->totalNodes = header->totalNodes;
1886 btreePtr->freeNodes = header->freeNodes;
1887 btreePtr->btreeType = header->btreeType;
1929 Function: Returns the last time that this btree was flushed, does not include header.
1967 Function: Sets the last time that this btree was flushed, does not include header.
2021 Function: Read the user data area of the b-tree header node.
2059 Function: Write the user data area of the b-tree header node.