Searched refs:cbFree (Results 1 - 22 of 22) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstRTFsQueries.cpp59 RTFOFF cbFree = 42; local
62 rc = RTFsQuerySizes(argv[i], &cbTotal, &cbFree, &cbBlock, &cbSector);
64 RTPrintf("tstRTFsQueries: cbTotal=%RTfoff cbFree=%RTfoff cbBlock=%d cbSector=%d\n",
65 cbTotal, cbFree, cbBlock, cbSector);
/vbox/src/VBox/Runtime/r3/linux/
H A Dsystemmem-linux.cpp71 uint64_t cbFree = 0; local
80 rc = RTStrToUInt64Ex(RTStrStripL(&sz[sizeof("MemFree:")]), NULL, 0, &cbFree);
91 *pcb = (cbFree + cbBuffers + cbCached) * _1K;
/vbox/src/VBox/Runtime/common/string/
H A Dstrcache.cpp182 uint32_t cbFree; member in struct:RTSTRCACHEFREE
205 uint32_t cbFree; member in struct:RTSTRCACHEFREEMERGE
428 Assert(pFree->cbFree > 0);
429 Assert(RT_ALIGN_32(pFree->cbFree, sizeof(*pFree)) == pFree->cbFree);
521 Assert(pFree->cbFree > 0);
522 Assert(RT_ALIGN_32(pFree->cbFree, sizeof(*pFree)) == pFree->cbFree);
527 uint32_t iList = (ASMBitLastSetU32(pFree->cbFree) - 1) - RTSTRCACHE_MERGED_THRESHOLD_BIT;
571 Assert(pFree->cbFree >
[all...]
/vbox/src/VBox/VMM/VMMAll/
H A DMMAllHyper.cpp439 Log3(("mmHyperAllocChunk: cbFree %d -> %d (%d)\n", pHeap->cbFree, pHeap->cbFree - offAlign, -(int)offAlign));
440 pHeap->cbFree -= offAlign;
532 Log3(("mmHyperAllocChunk: cbFree %d -> %d (%d)\n", pHeap->cbFree,
533 pHeap->cbFree - (cb + sizeof(MMHYPERCHUNK)), -(int)(cb + sizeof(MMHYPERCHUNK))));
534 pHeap->cbFree -= (uint32_t)(cb + sizeof(MMHYPERCHUNK));
577 Log3(("mmHyperAllocChunk: cbFree %d -> %d (%d)\n", pHeap->cbFree,
[all...]
/vbox/src/VBox/Runtime/common/misc/
H A Dcircbuf.cpp206 size_t cbFree = pBuf->cbBuf - ASMAtomicReadZ(&pBuf->cbUsed); local
207 if (cbFree > 0)
211 size_t cbSize = RT_MIN(cbReqSize, RT_MIN(pBuf->cbBuf - pBuf->offWrite, cbFree));
/vbox/src/VBox/Runtime/common/alloc/
H A Dheapoffset.cpp147 uint32_t cbFree; member in struct:RTHEAPOFFSETINTERNAL
394 pHeapInt->cbFree = (uint32_t)cbMemory
409 pFree->cb = pHeapInt->cbFree;
569 pHeapInt->cbFree -= sizeof(RTHEAPOFFSETBLOCK);
610 pHeapInt->cbFree -= pFree->cb;
611 pHeapInt->cbFree += pNew->cb;
632 pHeapInt->cbFree -= pFree->cb;
756 pHeapInt->cbFree -= pLeft->cb;
792 pHeapInt->cbFree -= pRight->cb;
800 pHeapInt->cbFree
[all...]
H A Dheapsimple.cpp147 size_t cbFree; member in struct:RTHEAPSIMPLEINTERNAL
311 pHeapInt->cbFree = cbMemory
326 pFree->cb = pHeapInt->cbFree;
540 pHeapInt->cbFree -= offAlign;
602 pHeapInt->cbFree -= pFree->cb;
603 pHeapInt->cbFree += pNew->cb;
624 pHeapInt->cbFree -= pFree->cb;
748 pHeapInt->cbFree -= pLeft->cb;
784 pHeapInt->cbFree -= pRight->cb;
792 pHeapInt->cbFree
[all...]
/vbox/src/VBox/Runtime/r3/win/
H A Dfs-win.cpp201 ULARGE_INTEGER cbFree; local
202 if (GetDiskFreeSpaceExW(pwszFsRoot, &cbFree, &cbTotal, NULL))
207 *pcbFree = cbFree.QuadPart;
/vbox/src/VBox/Runtime/common/zip/
H A Dzip.cpp923 unsigned cbFree = (unsigned)(sizeof(pZip->abBuffer) - (pZip->u.LZF.pbOutput - &pZip->abBuffer[0])); local
925 || cbFree < RTZIPLZF_MAX_DATA_SIZE + sizeof(RTZIPLZFHDR))
931 cbFree = sizeof(pZip->abBuffer);
942 cbFree -= sizeof(*pHdr);
953 cbFree = RT_MIN(cbFree, RTZIPLZF_MAX_DATA_SIZE);
955 unsigned cbOutput = lzf_compress(pbBuf, cbInput, pZip->u.LZF.pbOutput, cbFree);
964 AssertMsgFailed(("lzf_compress bug! cbFree=%zu\n", cbFree));
967 cbOutput = lzf_compress(pbBuf, cbInput, pZip->u.LZF.pbOutput, cbFree);
[all...]
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp1564 SIZE_T cbFree = pMemInfo->RegionSize + ((uintptr_t)pMemInfo->BaseAddress - (uintptr_t)pMemInfo->AllocationBase); local
1569 uintptr_t uPtrNext = (uintptr_t)pvFree + cbFree;
1583 pvFree, cbFree, pMemInfo->BaseAddress, pMemInfo->RegionSize));
1594 cbCopy = cbFree;
1628 cbFreeInOut = cbFree;
1633 rcNt, pvFree, pvFreeInOut, cbFree, cbFreeInOut));
1639 rcNt, pvFree, cbFree));
1647 cbFree = pMemInfo->RegionSize;
1649 pvFree, cbFree));
1655 pvFree, cbFree, pMemInf
[all...]
/vbox/src/VBox/Additions/linux/sharedfolders/
H A Dvfsmod.h76 size_t cbFree; member in struct:sf_dir_buf
H A Dutils.c662 b->cbFree = DIR_BUFFER_SIZE;
713 b->cbFree = DIR_BUFFER_SIZE;
794 cbSize = b->cbFree;
815 b->cbFree -= cbSize;
/vbox/src/VBox/Devices/Audio/
H A DDrvHostDSound.cpp1109 DWORD cbFree; local
1118 cbFree = cbBuffer - dsoundRingDistance(cbWritePos, cbPlayPos, cbBuffer);
1131 cbFree = dsoundRingDistance(cbPlayPos, cbPlayWritePos, cbBuffer);
1138 cbLive = RT_MIN(cbFree, cbLive);
H A DDevSB16.cpp320 static void sb16AudioCallback(void *pvContext, uint32_t cbFree);
322 static void sb16AudioCallback(void *pvContext, int cbFree);
1835 static void sb16AudioCallback(void *pvContext, int cbFree) argument
1839 pState->audio_free = cbFree;
H A DDevIchAc97.cpp381 static void ichac97OutputCallback(void *pvContext, int cbFree);
1536 static void ichac97OutputCallback(void *pvContext, int cbFree) argument
1538 ichac97TransferAudio((AC97STATE *)pvContext, PO_INDEX, cbFree);
/vbox/src/VBox/VMM/include/
H A DMMInternal.h356 uint32_t cbFree; member in struct:MMHYPERHEAP
/vbox/src/VBox/Storage/
H A DRAW.cpp233 RTFOFF cbFree = 0; local
272 rc = vdIfIoIntFileGetFreeSpace(pImage->pIfIo, pImage->pszFilename, &cbFree);
273 if (RT_SUCCESS(rc) /* ignore errors */ && ((uint64_t)cbFree < cbSize))
H A DVDI.cpp619 int64_t cbFree = 0; local
620 rc = vdIfIoIntFileGetFreeSpace(pImage->pIfIo, pImage->pszFilename, &cbFree);
621 if (RT_SUCCESS(rc) /* ignore errors */ && ((uint64_t)cbFree < cbTotal))
/vbox/src/VBox/VMM/VMMR3/
H A DMMHyper.cpp843 pHeap->cbFree = pHeap->cbHeap - sizeof(MMHYPERCHUNK);
851 pFree->cb = pHeap->cbFree;
859 STAMR3Register(pVM, &pHeap->cbFree, STAMTYPE_U32, STAMVISIBILITY_ALWAYS, "/MM/HyperHeap/cbFree", STAMUNIT_BYTES, "The free space.");
H A DSSM.cpp2015 RTFOFF cbFree;
2016 int rc = RTFileQueryFsSizes((RTFILE)(uintptr_t)pvUser, NULL, &cbFree, NULL, NULL);
2020 if (cbFree < SSM_MIN_DISK_FREE)
2022 LogRel(("SSM: Giving up: Low on disk space. (cbFree=%RTfoff, SSM_MIN_DISK_FREE=%RTfoff).\n",
2023 cbFree, SSM_MIN_DISK_FREE));
/vbox/src/VBox/Storage/testcase/
H A DtstVDIo.cpp2824 uint64_t cbFree = 0;
2825 int rc = RTSystemQueryAvailableRam(&cbFree);
2827 || cbFree < (UINT64_C(6) * _1G))
2829 RTStrmPrintf(g_pStdErr, "tstVDIo: fatal error: Failed to query available RAM or not enough available, skipping (rc=%Rrc cbFree=%llu)\n",
2830 rc, cbFree);
/vbox/src/VBox/VMM/testcase/
H A DtstVMStruct.h370 GEN_CHECK_OFF(MMHYPERHEAP, cbFree);

Completed in 328 milliseconds