Lines Matching refs:cbToWrite
2171 size_t cbToWrite;
2185 cbToWrite = RT_MIN(pEntry->cbData - offDiff, cbWrite);
2186 cbWrite -= cbToWrite;
2193 STAM_COUNTER_ADD(&pCache->StatWritten, cbToWrite);
2206 RTSgBufCopyToBuf(&SgBuf, pEntry->pbData + offDiff, cbToWrite);
2211 &SgBuf, offDiff, cbToWrite,
2229 &SgBuf, offDiff, cbToWrite,
2237 RTSgBufCopyToBuf(&SgBuf, pEntry->pbData + offDiff, cbToWrite);
2277 &SgBuf, offDiff, cbToWrite,
2297 &SgBuf, off, cbToWrite,
2310 &cbToWrite);
2312 cbWrite -= cbToWrite;
2324 if (!offDiff && pEntryNew->cbData == cbToWrite)
2326 RTSgBufCopyToBuf(&SgBuf, pEntryNew->pbData, cbToWrite);
2331 STAM_COUNTER_ADD(&pCache->StatWritten, cbToWrite);
2337 &SgBuf, offDiff, cbToWrite,
2351 LogFlow(("Couldn't evict %u bytes from the cache. Remaining request will be passed through\n", cbToWrite));
2356 &SgBuf, off, cbToWrite,
2361 off += cbToWrite;
2477 &SgBuf, offDiff, cbToWrite,
2498 &SgBuf, offDiff, cbToWrite,