Searched refs:totalNodes (Results 1 - 12 of 12) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeMiscOps.c | 164 u_int32_t totalNodes; local 179 totalNodes = header->totalNodes; 181 forkSize = (u_int64_t)totalNodes * (u_int64_t)header->nodeSize; 186 if ( header->freeNodes >= totalNodes ) 189 if ( header->rootNode >= totalNodes ) 192 if ( header->firstLeafNode >= totalNodes ) 195 if ( header->lastLeafNode >= totalNodes ) 268 header->totalNodes = btreePtr->totalNodes; [all...] |
H A D | BTreeNodeReserve.c | 119 int rsrvNodes, availNodes, totalNodes; local 182 totalNodes = rsrvNodes + btree->totalNodes - availNodes; 185 if (totalNodes > (int)CalcMapBits(btree)) { 186 ++totalNodes; 188 if ((err = ExtendBTree(btree, totalNodes))) {
|
H A D | BTreeAllocate.c | 185 if (nodeNumber >= btreePtr->totalNodes) 333 oldTotalNodes = btreePtr->totalNodes; 381 btreePtr->totalNodes = newTotalNodes; // do we need to update freeNodes here too? 494 btreePtr->totalNodes = newTotalNodes; 612 while (mapBits < btreePtr->totalNodes) 677 if (nodeNumber + bitNumber >= btreePtr->totalNodes)
|
H A D | BTree.c | 281 btreePtr->totalNodes = header->totalNodes; 1305 err = ExtendBTree (btreePtr, btreePtr->totalNodes + 1); 1371 nodesNeeded = btreePtr->treeDepth + 1 + btreePtr->totalNodes - btreePtr->freeNodes; 1522 nodesNeeded = btreePtr->treeDepth + 1 + btreePtr->totalNodes - btreePtr->freeNodes; 1725 if ((btreePtr->treeDepth + 1UL) > btreePtr->totalNodes) 1727 nodesNeeded = btreePtr->treeDepth + 1 + btreePtr->totalNodes; 1787 info->numNodes = btreePtr->totalNodes; 1885 btreePtr->totalNodes = header->totalNodes; [all...] |
H A D | BTreeScanner.c | 179 if ( scanState->nodeNum >= scanState->btcb->totalNodes )
|
H A D | BTreeNodeOps.c | 203 if( nodeNum >= btreePtr->totalNodes ) 205 Panic("GetNode:nodeNum >= totalNodes");
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_btreeio.c | 716 btcb->totalNodes = VTOF(vp)->ff_size / nodesize; 736 if (btcb->totalNodes > temp) { 737 num_map_nodes = howmany(btcb->totalNodes - temp, bytes_per_map_record * 8); 743 btcb->freeNodes = btcb->totalNodes - 1 - num_map_nodes; 780 bthp->totalNodes = btcb->totalNodes;
|
H A D | hfs_endian.c | 119 * control block is initialized. In this case, totalNodes will be zero, 124 if (btcb->totalNodes != 0) { 125 if (srcDesc->fLink >= btcb->totalNodes) { 126 printf("hfs_swap_BTNode: invalid forward link (0x%08x >= 0x%08x)\n", srcDesc->fLink, btcb->totalNodes); 130 if (srcDesc->bLink >= btcb->totalNodes) { 131 printf("hfs_swap_BTNode: invalid backward link (0x%08x >= 0x%08x)\n", srcDesc->bLink, btcb->totalNodes); 255 srcHead->totalNodes = SWAP_BE32 (srcHead->totalNodes); 278 if (srcDesc->fLink >= btcb->totalNodes) { 290 if (srcDesc->bLink >= btcb->totalNodes) { [all...] |
H A D | hfs_format.h | 743 u_int32_t totalNodes; /* total number of nodes in tree */ member in struct:BTHeaderRec
|
H A D | hfs_hotfiles.c | 1888 bthp->totalNodes = SWAP_BE32 (filesize / nodesize);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | BTreesPrivate.h | 205 u_int32_t totalNodes; member in struct:BTreeControlBlock
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOPMrootDomain.cpp | 7109 unsigned int totalNodes = 0; local 7236 totalNodes += count; 7253 totalNodes, gPMHaltArray->getCount(), numWorkers);
|
Completed in 107 milliseconds