/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | PhysHeap.cpp | 92 struct _VBGLPHYSHEAPCHUNK *pChunk; member in struct:_VBGLPHYSHEAPBLOCK 122 VBGLPHYSHEAPCHUNK *pChunk = g_vbgldata.pChunkHead; local 124 while (pChunk) 127 pChunk, pChunk->pNext, pChunk->pPrev, pChunk->u32Signature, pChunk->cbSize, pChunk->cAllocatedBlocks, pChunk 192 vbglPhysHeapInitBlock(VBGLPHYSHEAPBLOCK *pBlock, VBGLPHYSHEAPCHUNK *pChunk, uint32_t cbDataSize) argument 293 VBGLPHYSHEAPCHUNK *pChunk; local [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | MMAllHyper.cpp | 44 #define ASSERT_OFFPREV(pHeap, pChunk) \ 45 do { Assert(MMHYPERCHUNK_GET_OFFPREV(pChunk) <= 0); \ 46 Assert(MMHYPERCHUNK_GET_OFFPREV(pChunk) >= (intptr_t)(pHeap)->CTX_SUFF(pbHeap) - (intptr_t)(pChunk)); \ 47 AssertMsg( MMHYPERCHUNK_GET_OFFPREV(pChunk) != 0 \ 48 || (uint8_t *)(pChunk) == (pHeap)->CTX_SUFF(pbHeap), \ 49 ("pChunk=%p pvHyperHeap=%p\n", (pChunk), (pHeap)->CTX_SUFF(pbHeap))); \ 52 #define ASSERT_OFFNEXT(pHeap, pChunk) \ 53 do { ASSERT_ALIGN((pChunk) 270 PMMHYPERCHUNK pChunk = mmHyperAllocChunk(pHeap, cbAligned, uAlignment); local 731 PMMHYPERCHUNK pChunk = mmHyperAllocChunk(pHeap, RT_ALIGN(sizeof(*pStat), MMHYPER_HEAP_ALIGN_MIN), MMHYPER_HEAP_ALIGN_MIN); local 799 PMMHYPERCHUNK pChunk = (PMMHYPERCHUNK)((PMMHYPERCHUNK)pv - 1); local 955 mmHyperFree(PMMHYPERHEAP pHeap, PMMHYPERCHUNK pChunk) argument [all...] |
/vbox/src/VBox/Runtime/common/misc/ |
H A D | s3.cpp | 392 static int rtS3ReadXmlFromMemory(PRTS3TMPMEMCHUNK pChunk, const char* pszRootElement, xmlDocPtr *ppDoc, xmlNodePtr *ppCur) argument 394 *ppDoc = xmlReadMemory(pChunk->pszMem, (int)pChunk->cSize, "", "ISO-8859-1", XML_PARSE_NOBLANKS | XML_PARSE_NONET);
|
H A D | lockvalidator.cpp | 477 for (PRTLOCKVALCLASSREFCHUNK pChunk = &pClass->PriorLocks; pChunk; pChunk = pChunk->pNext) 478 for (unsigned j = 0; j < RT_ELEMENTS(pChunk->aRefs); j++, i++) 480 RTLOCKVALCLASSINT *pCurClass = pChunk->aRefs[j].hClass; 489 pChunk->aRefs[j].fAutodidacticism 492 pChunk->aRefs[j].cLookups, 493 pChunk->aRefs[j].cLookups != 1 ? "s" : ""); 506 for (PRTLOCKVALCLASSREFCHUNK pChunk 1213 PRTLOCKVALCLASSREFCHUNK pChunk = &pClass->PriorLocks; local [all...] |
/vbox/src/VBox/Runtime/common/string/ |
H A D | strcache.cpp | 372 PRTSTRCACHECHUNK pChunk; local 373 while ((pChunk = pThis->pChunkList) != NULL) 375 pThis->pChunkList = pChunk->pNext; 376 RTMemPageFree(pChunk, pChunk->cb); 598 PRTSTRCACHECHUNK pChunk = (PRTSTRCACHECHUNK)RTMemPageAlloc(cbChunk); local 599 if (!pChunk) 601 pChunk->cb = cbChunk; 602 pChunk->pNext = pThis->pChunkList; 603 pThis->pChunkList = pChunk; 709 PRTSTRCACHECHUNK pChunk = (PRTSTRCACHECHUNK)RTMemPageAlloc(RTSTRCACHE_FIXED_GROW_SIZE); local [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/ |
H A D | VBoxDTraceR0.cpp | 1005 PVBOXDTVMEMCHUNK pChunk; local 1012 pChunk = pThis->apChunks[iChunk]; 1013 if (pChunk->cCurFree > 0) 1015 int iBit = ASMBitFirstClear(pChunk->bm, VBOXDTVMEMCHUNK_BITS); 1020 ASMBitSet(pChunk->bm, iBit); 1021 pChunk->cCurFree--; 1024 uint32_t iRet = (uint32_t)iBit + pChunk->iFirst + pThis->uBase; 1047 pChunk = (PVBOXDTVMEMCHUNK)RTMemAllocZ(sizeof(*pChunk)); 1048 if (!pChunk) 1112 PVBOXDTVMEMCHUNK pChunk = pThis->apChunks[iChunk]; local [all...] |
/vbox/src/VBox/VMM/VMMR0/ |
H A D | GMMR0.cpp | 460 PGMMCHUNK pChunk; member in struct:GMMCHUNKTLBE 735 static bool gmmR0CleanupVMScanChunk(PGMM pGMM, PGVM pGVM, PGMMCHUNK pChunk); 736 DECLINLINE(void) gmmR0UnlinkChunk(PGMMCHUNK pChunk); variable 737 DECLINLINE(void) gmmR0LinkChunk(PGMMCHUNK pChunk, PGMMCHUNKFREESET pSet); 738 DECLINLINE(void) gmmR0SelectSetAndLinkChunk(PGMM pGMM, PGVM pGVM, PGMMCHUNK pChunk); 742 static bool gmmR0FreeChunk(PGMM pGMM, PGVM pGVM, PGMMCHUNK pChunk, bool fRelaxedSem); 745 static int gmmR0UnmapChunkLocked(PGMM pGMM, PGVM pGVM, PGMMCHUNK pChunk); 914 PGMMCHUNK pChunk = (PGMMCHUNK)pNode; local 916 if (pChunk->cFree != (GMM_CHUNK_SIZE >> PAGE_SHIFT)) 917 SUPR0Printf("GMMR0Term: %p/%#x: cFree=%d cPrivate=%d cShared=%d cMappings=%d\n", pChunk, 1070 gmmR0ChunkMutexAcquire(PGMMR0CHUNKMTXSTATE pMtxState, PGMM pGMM, PGMMCHUNK pChunk, uint32_t fFlags) argument 1141 gmmR0ChunkMutexRelease(PGMMR0CHUNKMTXSTATE pMtxState, PGMMCHUNK pChunk) argument 1270 PGMMCHUNK pChunk; local 1403 gmmR0CleanupVMScanChunk(PGMM pGMM, PGVM pGVM, PGMMCHUNK pChunk) argument 1804 PGMMCHUNK pChunk = (PGMMCHUNK)RTAvlU32Get(&pGMM->pChunks, idChunk); local 1845 PGMMCHUNK pChunk = gmmR0GetChunk(pGMM, idPage >> GMM_CHUNKID_SHIFT); local 1861 PGMMCHUNK pChunk = gmmR0GetChunk(pGMM, idPage >> GMM_CHUNKID_SHIFT); local [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMPhys.cpp | 3885 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)pNode; local 3886 if (pChunk->iLastUsed >= UINT32_C(0xffffff00)) 3887 pChunk->iLastUsed = 3; 3888 else if (pChunk->iLastUsed >= UINT32_C(0xfffff000)) 3889 pChunk->iLastUsed = 2; 3890 else if (pChunk->iLastUsed) 3891 pChunk->iLastUsed = 1; 3893 pChunk->iLastUsed = 4; 3906 PPGMCHUNKR3MAP pChunk; /**< The chunk to unmap. */ member in struct:PGMR3PHYSCHUNKUNMAPCB 3916 PPGMCHUNKR3MAP pChunk local 4134 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3HeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk)); local 4136 PPGMCHUNKR3MAP pChunk = (PPGMCHUNKR3MAP)MMR3UkHeapAllocZ(pVM, MM_TAG_PGM_CHUNK_MAPPING, sizeof(*pChunk), NULL); local 4237 PPGMCHUNKR3MAP pChunk; local [all...] |
/vbox/src/VBox/VMM/include/ |
H A D | PGMInternal.h | 1707 R3PTRTYPE(PPGMCHUNKR3MAP) volatile pChunk; member in struct:PGMCHUNKR3MAPTLBE 1709 R3R0PTRTYPE(PPGMCHUNKR3MAP) volatile pChunk; member in struct:PGMCHUNKR3MAPTLBE
|