Searched refs:bthp (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/hfs-285/newfs_hfs/
H A Dmakehfs.c1022 BTHeaderRec *bthp; local
1047 bthp = (BTHeaderRec *)((UInt8 *)buffer + offset);
1049 bthp->treeDepth = SWAP_BE16(1);
1050 bthp->rootNode = SWAP_BE32(1);
1051 bthp->firstLeafNode = SWAP_BE32(1);
1052 bthp->lastLeafNode = SWAP_BE32(1);
1053 bthp->leafRecords = SWAP_BE32(numOverflowExtents);
1055 bthp->treeDepth = 0;
1056 bthp->rootNode = 0;
1057 bthp
1167 BTHeaderRec *bthp; local
1475 BTHeaderRec *bthp; local
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/hfs/
H A Dhfs_btreeio.c645 BTHeaderRec *bthp; local
803 bthp = (BTHeaderRec *)((u_int8_t *)buffer + offset);
804 bthp->nodeSize = nodesize;
805 bthp->totalNodes = btcb->totalNodes;
806 bthp->freeNodes = btcb->freeNodes;
807 bthp->clumpSize = cfork.cf_clump;
808 bthp->btreeType = 0xFF;
809 bthp->attributes = kBTVariableIndexKeysMask | kBTBigKeysMask;
810 bthp->maxKeyLength = kHFSPlusAttrKeyMaximumLength;
811 bthp
[all...]
H A Dhfs_hotfiles.c1868 BTHeaderRec *bthp; local
1901 bthp = (BTHeaderRec *)((u_int8_t *)buffer + offset);
1902 bthp->nodeSize = SWAP_BE16 (nodesize);
1903 bthp->totalNodes = SWAP_BE32 (filesize / nodesize);
1904 bthp->freeNodes = SWAP_BE32 (nodecnt - 1);
1905 bthp->clumpSize = SWAP_BE32 (filesize);
1906 bthp->btreeType = kUserBTreeType; /* non-metadata */
1907 bthp->attributes |= SWAP_BE32 (kBTBigKeysMask);
1908 bthp->maxKeyLength = SWAP_BE16 (HFC_KEYLENGTH);
/macosx-10.10/libfs-13/
H A DFSFormatName.c445 BTHeaderRec * bthp; local
453 bthp = (BTHeaderRec *)&buffer[sizeof(BTNodeDescriptor)];
455 if ((SW16(bthp->maxKeyLength) == kHFSPlusCatalogKeyMaximumLength) &&
456 (bthp->keyCompareType == kHFSBinaryCompare)) {

Completed in 191 milliseconds