/vbox/src/VBox/Runtime/r0drv/freebsd/ |
H A D | alloc-r0drv-freebsd.c | 56 size_t cbAllocated = cb; local 75 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE); 77 pVmObject = vm_object_allocate(OBJT_DEFAULT, cbAllocated >> PAGE_SHIFT); 84 cbAllocated, 0, VMFS_ANY_SPACE, VM_PROT_ALL, VM_PROT_ALL, 0); 87 cbAllocated, TRUE, VM_PROT_ALL, VM_PROT_ALL, 0); 91 rc = vm_map_wire(kernel_map, Addr, Addr + cbAllocated, 98 bzero(pHdr, cbAllocated); 103 Addr + cbAllocated); 121 pHdr->cb = cbAllocated;
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-efence-allocator.cpp | 42 pAllocation->cbAllocated = 0; 54 pAllocation->cbAllocated = (uint32_t)cb; 71 pAllocation->cbAllocated = (uint32_t)cbNew;
|
H A D | asn1-default-allocator.cpp | 60 pAllocation->cbAllocated = 0; 73 pAllocation->cbAllocated = (uint32_t)cbAlloc; 91 pAllocation->cbAllocated = (uint32_t)cbAlloc;
|
H A D | asn1-basics.cpp | 99 if (pAllocation->cbAllocated < cbNew) 116 Assert(pAllocation->cbAllocated >= cbNew); 120 RT_BZERO((uint8_t *)*ppvArray + cbOld, pAllocation->cbAllocated - cbOld); 133 Assert(pAllocation->cbAllocated >= cbMem || RT_FAILURE_NP(rc)); 147 Assert(pAllocation->cbAllocated >= cbMem); 161 Assert(pAllocation->cbAllocated == 0); 168 pAllocation->cbAllocated = 0; 185 Allocation.cbAllocated = 0; 196 Assert(Allocation.cbAllocated >= cbAlloc); 243 if (pHdr->Allocation.cbAllocated < cbNeede [all...] |
H A D | asn1-ut-objid.cpp | 472 if (pThis->Allocation.cbAllocated) 488 if (pThis->Allocation.cbAllocated)
|
/vbox/src/VBox/Main/src-all/ |
H A D | DisplayPNGUtil.cpp | 31 uint32_t cbAllocated; member in struct:PNGWriteCtx 42 if (pCtx->cbAllocated - pCtx->cbPNG < cb) 56 pCtx->cbAllocated = cbNew; 151 ctx.cbAllocated = 0;
|
/vbox/src/VBox/Runtime/r0drv/solaris/ |
H A D | alloc-r0drv-solaris.c | 70 size_t cbAllocated = cb; local 77 cbAllocated = RT_ALIGN_Z(cb + sizeof(*pHdr), PAGE_SIZE) - sizeof(*pHdr); 78 pHdr = (PRTMEMHDR)segkmem_alloc(heaptext_arena, cbAllocated + sizeof(*pHdr), KM_SLEEP); 97 pHdr->cb = cbAllocated;
|
/vbox/src/bldprogs/ |
H A D | scmstream.cpp | 44 pStream->cbAllocated = 0; 76 pStream->cbAllocated = cbFile; 111 pStream->cbAllocated = cbEstimate; 134 RTFileReadAllFree(pStream->pch, pStream->cbAllocated); 139 pStream->cbAllocated = 0; 170 size_t cbAllocated = pStream->cbAllocated; local 171 cbAllocated += RT_MAX(0x1000 + cbAppending, cbAllocated); 172 cbAllocated [all...] |
H A D | scmstream.h | 64 size_t cbAllocated; member in struct:SCMSTREAM
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | MMHeap.cpp | 73 STAMR3RegisterU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/R3Heap/cbAllocated", STAMUNIT_BYTES, "Total number of bytes allocated."); 344 STAMR3RegisterFU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES, "Total number of bytes allocated.", "/MM/R3Heap/%s/cbAllocated", pszTag); 404 pStat->cbAllocated += cbSize; 406 pHeap->Stat.cbAllocated += cbSize; 501 pHdrNew->pStat->cbAllocated += cbNewSize - pHdrNew->cbSize; 502 pHeap->Stat.cbAllocated += cbNewSize - pHdrNew->cbSize;
|
H A D | MMUkHeap.cpp | 74 STAMR3RegisterU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, "/MM/UkHeap/cbAllocated", STAMUNIT_BYTES, "Total number of bytes allocated."); 287 STAMR3RegisterFU(pUVM, &pStat->cbAllocated, STAMTYPE_U64, STAMVISIBILITY_ALWAYS, STAMUNIT_BYTES, "Total number of bytes allocated.", "/MM/UkHeap/%s/cbAllocated", pszTag); 362 pStat->cbAllocated += cbActual; 364 pHeap->Stat.cbAllocated += cbActual;
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceClipboard-os2.cpp | 428 uint32_t cbAllocated = cb; local 430 void *pv = RTMemPageAllocZ(cbAllocated); 437 RTMemPageFree(pv, cbAllocated); 438 cbAllocated = cb = RT_ALIGN_32(cb, PAGE_SIZE); 439 pv = RTMemPageAllocZ(cbAllocated); 443 RTMemPageFree(pv, cbAllocated); 464 RTMemPageFree(pv, cbAllocated);
|
/vbox/src/VBox/VMM/include/ |
H A D | MMInternal.h | 77 uint64_t cbAllocated; member in struct:MMHEAPSTAT 167 uint64_t cbAllocated; member in struct:MMUKHEAPSTAT 283 uint64_t cbAllocated; member in struct:MMHYPERSTAT
|
H A D | VMInternal.h | 75 uint32_t cbAllocated; member in struct:VMERROR 116 uint32_t cbAllocated; member in struct:VMRUNTIMEERROR
|
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | memtracker.cpp | 75 size_t volatile cbAllocated; member in struct:RTMEMTRACKERSTATS 477 ASMAtomicAddZ(&pStats->cbAllocated, cbUser); 492 ASMAtomicSubZ(&pStats->cbAllocated, cbUser); 629 ASMAtomicSubZ(&pMemUser->Stats.cbAllocated, cbUser); 748 pStats->cbAllocated, 771 pStats->cbAllocated, pStats->cAllocatedBlocks); 886 || pTag->Stats.cbAllocated) 901 || pCurUser->Stats.cbAllocated
|
/vbox/src/VBox/Additions/WINNT/SharedFolders/driver/ |
H A D | info.c | 273 pInfo->AllocationSize.QuadPart = pDirEntry->Info.cbAllocated; 310 pInfo->AllocationSize.QuadPart = pDirEntry->Info.cbAllocated; 348 pInfo->AllocationSize.QuadPart = pDirEntry->Info.cbAllocated; 358 pDirEntry->Info.cbAllocated, pDirEntry->Info.cbObject)); 396 pInfo->AllocationSize.QuadPart = pDirEntry->Info.cbAllocated; 407 pDirEntry->Info.cbAllocated, pDirEntry->Info.cbObject)); 1145 pInfo->AllocationSize.QuadPart = pFileEntry->cbAllocated; 1253 pInfo->AllocationSize.QuadPart = pFileEntry->cbAllocated; 1272 pInfo->AllocationSize.QuadPart = pFileEntry->cbAllocated;
|
H A D | file.c | 575 pObjInfo->cbAllocated)); 578 pNewAllocationSize->QuadPart = pObjInfo->cbAllocated;
|
/vbox/src/VBox/Runtime/r3/ |
H A D | dir.cpp | 567 size_t const cbAllocated = cbDir local 571 PRTDIR pDir = (PRTDIR)RTMemAllocZ(cbAllocated); 615 Assert(pb - (uint8_t *)pDir + cchRealPath + 1 <= cbAllocated);
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | fs2-posix.cpp | 61 pObjInfo->cbAllocated = pStat->st_blocks * DEV_BSIZE;
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstDir.cpp | 175 DirEntry.Info.cbAllocated,
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | VMAll.cpp | 139 pErr->cbAllocated = cb; 333 pErr->cbAllocated = cb;
|
/vbox/include/VBox/ |
H A D | shflsvc.h | 423 RTFOFF cbAllocated; member in struct:SHFLFSOBJINFO 465 pDst->cbAllocated = pSrc->cbAllocated;
|
/vbox/include/iprt/ |
H A D | fs.h | 432 RTFOFF cbAllocated; member in struct:RTFSOBJINFO
|
/vbox/src/VBox/Runtime/common/zip/ |
H A D | tarvfs.cpp | 692 pObjInfo->cbAllocated = RT_ALIGN_64(pObjInfo->cbObject, 512); 765 pObjInfo->cbObject = pObjInfo->cbAllocated = 0; 825 pObjInfo->cbAllocated = 0; 1394 pIosData->cbPadding = (uint32_t)(Info.cbAllocated - Info.cbObject);
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsmemory.cpp | 396 if (((pThis->Base.ObjInfo.cbAllocated + cbNextExtent) & (cbNextExtent - 1)) == 0) 434 pThis->Base.ObjInfo.cbAllocated += cbExtent;
|