Searched refs:cbAllocated (Results 1 - 25 of 47) sorted by relevance

12

/vbox/src/VBox/Runtime/r0drv/freebsd/
H A Dalloc-r0drv-freebsd.c56 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 Dasn1-efence-allocator.cpp42 pAllocation->cbAllocated = 0;
54 pAllocation->cbAllocated = (uint32_t)cb;
71 pAllocation->cbAllocated = (uint32_t)cbNew;
H A Dasn1-default-allocator.cpp60 pAllocation->cbAllocated = 0;
73 pAllocation->cbAllocated = (uint32_t)cbAlloc;
91 pAllocation->cbAllocated = (uint32_t)cbAlloc;
H A Dasn1-basics.cpp99 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 Dasn1-ut-objid.cpp472 if (pThis->Allocation.cbAllocated)
488 if (pThis->Allocation.cbAllocated)
/vbox/src/VBox/Main/src-all/
H A DDisplayPNGUtil.cpp31 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 Dalloc-r0drv-solaris.c70 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 Dscmstream.cpp44 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 Dscmstream.h64 size_t cbAllocated; member in struct:SCMSTREAM
/vbox/src/VBox/VMM/VMMR3/
H A DMMHeap.cpp73 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 DMMUkHeap.cpp74 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 DVBoxServiceClipboard-os2.cpp428 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 DMMInternal.h77 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 DVMInternal.h75 uint32_t cbAllocated; member in struct:VMERROR
116 uint32_t cbAllocated; member in struct:VMRUNTIMEERROR
/vbox/src/VBox/Runtime/common/alloc/
H A Dmemtracker.cpp75 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 Dinfo.c273 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 Dfile.c575 pObjInfo->cbAllocated));
578 pNewAllocationSize->QuadPart = pObjInfo->cbAllocated;
/vbox/src/VBox/Runtime/r3/
H A Ddir.cpp567 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 Dfs2-posix.cpp61 pObjInfo->cbAllocated = pStat->st_blocks * DEV_BSIZE;
/vbox/src/VBox/Runtime/testcase/
H A DtstDir.cpp175 DirEntry.Info.cbAllocated,
/vbox/src/VBox/VMM/VMMAll/
H A DVMAll.cpp139 pErr->cbAllocated = cb;
333 pErr->cbAllocated = cb;
/vbox/include/VBox/
H A Dshflsvc.h423 RTFOFF cbAllocated; member in struct:SHFLFSOBJINFO
465 pDst->cbAllocated = pSrc->cbAllocated;
/vbox/include/iprt/
H A Dfs.h432 RTFOFF cbAllocated; member in struct:RTFSOBJINFO
/vbox/src/VBox/Runtime/common/zip/
H A Dtarvfs.cpp692 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 Dvfsmemory.cpp396 if (((pThis->Base.ObjInfo.cbAllocated + cbNextExtent) & (cbNextExtent - 1)) == 0)
434 pThis->Base.ObjInfo.cbAllocated += cbExtent;

Completed in 1818 milliseconds

12