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

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_btreeio.c620 BTHeaderRec *bthp; local
778 bthp = (BTHeaderRec *)((u_int8_t *)buffer + offset);
779 bthp->nodeSize = nodesize;
780 bthp->totalNodes = btcb->totalNodes;
781 bthp->freeNodes = btcb->freeNodes;
782 bthp->clumpSize = cfork.cf_clump;
783 bthp->btreeType = 0xFF;
784 bthp->attributes = kBTVariableIndexKeysMask | kBTBigKeysMask;
785 bthp->maxKeyLength = kHFSPlusAttrKeyMaximumLength;
786 bthp
[all...]
H A Dhfs_hotfiles.c1853 BTHeaderRec *bthp; local
1886 bthp = (BTHeaderRec *)((u_int8_t *)buffer + offset);
1887 bthp->nodeSize = SWAP_BE16 (nodesize);
1888 bthp->totalNodes = SWAP_BE32 (filesize / nodesize);
1889 bthp->freeNodes = SWAP_BE32 (nodecnt - 1);
1890 bthp->clumpSize = SWAP_BE32 (filesize);
1891 bthp->btreeType = kUserBTreeType; /* non-metadata */
1892 bthp->attributes |= SWAP_BE32 (kBTBigKeysMask);
1893 bthp->maxKeyLength = SWAP_BE16 (HFC_KEYLENGTH);

Completed in 33 milliseconds