Lines Matching defs:cFree

425     uint16_t            cFree;
916 if (pChunk->cFree != (GMM_CHUNK_SIZE >> PAGE_SHIFT))
917 SUPR0Printf("GMMR0Term: %p/%#x: cFree=%d cPrivate=%d cShared=%d cMappings=%d\n", pChunk,
918 pChunk->Core.Key, pChunk->cFree, pChunk->cPrivate, pChunk->cShared, pChunk->cMappingsX);
1318 Assert(pChunk->cFree == GMM_CHUNK_NUM_PAGES);
1412 if (pChunk->cFree != (GMM_CHUNK_SIZE >> PAGE_SHIFT))
1417 unsigned cFree = 0;
1440 pChunk->cFree++;
1442 cFree++;
1448 cFree++;
1457 if (RT_UNLIKELY( pChunk->cFree != cFree
1462 pChunk->cFree, cFree, pChunk->cPrivate, cPrivate, pChunk->cShared, cShared);
1463 pChunk->cFree = cFree;
1477 else if (pChunk->cFree != GMM_CHUNK_NUM_PAGES)
1479 SUPR0Printf("gmmR0CleanupVMScanChunk: %p/%#x: cFree=%#x - it should be 0 in bound mode!\n",
1480 pChunk, pChunk->Core.Key, pChunk->cFree);
1481 AssertMsgFailed(("%p/%#x: cFree=%#x - it should be 0 in bound mode!\n", pChunk, pChunk->Core.Key, pChunk->cFree));
1484 pChunk->cFree = GMM_CHUNK_NUM_PAGES;
1756 cPages += pCur->cFree;
1872 * @param cFree The number of free pages in the chunk.
1874 DECLINLINE(unsigned) gmmR0SelectFreeSetList(unsigned cFree)
1876 unsigned iList = cFree >> GMM_CHUNK_FREE_SET_SHIFT;
1878 ("%d (%u)\n", iList, cFree));
1893 pSet->cFreePages -= pChunk->cFree;
1901 pSet->apLists[gmmR0SelectFreeSetList(pChunk->cFree)] = pNext;
1913 Assert(!pChunk->cFree);
1932 if (pChunk->cFree > 0)
1936 unsigned const iList = gmmR0SelectFreeSetList(pChunk->cFree);
1942 pSet->cFreePages += pChunk->cFree;
2044 Assert(pChunk->cFree);
2045 pChunk->cFree--;
2094 for (; pChunk->cFree && iPage < cPages; iPage++)
2136 pChunk->cFree = GMM_CHUNK_NUM_PAGES;
2296 pGVM->gmm.s.idLastChunkHint = pChunk->cFree ? pChunk->Core.Key : NIL_GMM_CHUNKID;
2336 pGVM->gmm.s.idLastChunkHint = pChunk->cFree ? pChunk->Core.Key : NIL_GMM_CHUNKID;
2368 if (pChunk && pChunk->cFree)
2389 pGVM->gmm.s.idLastChunkHint = pChunk->cFree ? pChunk->Core.Key : NIL_GMM_CHUNKID;
3161 Assert(pChunk->cFree < GMM_CHUNK_NUM_PAGES);
3329 unsigned const cFree = pChunk->cFree;
3330 if ( !cFree
3331 || gmmR0SelectFreeSetList(cFree) != gmmR0SelectFreeSetList(cFree + 1))
3334 pChunk->cFree++;
3339 pChunk->cFree = cFree + 1;
3353 if (RT_UNLIKELY( pChunk->cFree == GMM_CHUNK_NUM_PAGES
3374 Assert(pChunk->cFree < GMM_CHUNK_NUM_PAGES);
3399 Assert(pChunk->cFree < GMM_CHUNK_NUM_PAGES);
4802 Assert(pChunk->cFree < GMM_CHUNK_NUM_PAGES);