Searched defs:cbAllocated (Results 1 - 17 of 17) sorted by relevance

/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/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.h64 size_t cbAllocated; member in struct:SCMSTREAM
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...]
/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/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/VMM/VMMR3/
H A DSTAM.cpp113 size_t cbAllocated; member in struct:STAMR3SNAPSHOTONE
1823 State.cbAllocated = 0;
2018 size_t cbNewSize = pThis->cbAllocated;
2033 pThis->cbAllocated = 0;
2040 pThis->cbAllocated = cbNewSize;
/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 DVMInternal.h75 uint32_t cbAllocated; member in struct:VMERROR
116 uint32_t cbAllocated; member in struct:VMRUNTIMEERROR
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
/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/include/iprt/
H A Dfs.h432 RTFOFF cbAllocated; member in struct:RTFSOBJINFO
H A Dasn1.h77 * pInfo->cbAllocated on success.
99 * pInfo->cbAllocated on success.
122 uint32_t cbAllocated; member in struct:RTASN1ALLOCATION
/vbox/src/VBox/Runtime/r3/solaris/
H A Dcoredumper-solaris.cpp385 size_t cbAllocated = (char *)pSolCore->pvFree - (char *)pSolCore->pvCore; local
386 if (cbAllocated < pSolCore->cbCore)
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA_VBVA.cpp74 uint32_t cbAllocated; member in struct:VBVAMOUSESHAPEINFO
591 pMouseShapeInfo->cbAllocated
670 if (cbPointerData > pCtx->mouseShapeInfo.cbAllocated)
680 pCtx->mouseShapeInfo.cbAllocated = cbPointerData;
1806 pCtx->mouseShapeInfo.cbAllocated = pCtx->mouseShapeInfo.cbShape;
2592 pCtx->mouseShapeInfo.cbAllocated = 0;
2738 pCtx->mouseShapeInfo.cbAllocated = 0;
/vbox/include/VBox/
H A Dshflsvc.h423 RTFOFF cbAllocated; member in struct:SHFLFSOBJINFO
465 pDst->cbAllocated = pSrc->cbAllocated;
/vbox/src/VBox/ValidationKit/utils/TestExecServ/
H A DTestExecService.cpp99 size_t cbAllocated; member in struct:TXSEXECSTDINBUF
1693 pStdInBuf->cbAllocated = 0;
1794 if (cb + pStdInBuf->cb <= pStdInBuf->cbAllocated)
1818 if (cb + pStdInBuf->cb > pStdInBuf->cbAllocated)
1826 pStdInBuf->cbAllocated = cbAlloc;
1831 if (cb + pStdInBuf->cb <= pStdInBuf->cbAllocated)

Completed in 122 milliseconds