Lines Matching refs:fBytesFree
83 (float)((block).fBytesFree) / (block).fBuffer->size()); \
133 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap()
165 size_t bytes = fBlocks[i].fBuffer->size() - fBlocks[i].fBytesFree; in validate()
202 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace()
209 if (alignedSize <= back.fBytesFree) { in makeSpace()
214 back.fBytesFree -= alignedSize; in makeSpace()
237 back.fBytesFree -= size; in makeSpace()
256 fBlocks.back().fBytesFree; in makeSpaceAtLeast()
258 if (fBlocks.empty() || (minSize + pad) > fBlocks.back().fBytesFree) { in makeSpaceAtLeast()
272 fBlocks.back().fBytesFree -= pad; in makeSpaceAtLeast()
276 size_t size = align_down(fBlocks.back().fBytesFree, alignment); in makeSpaceAtLeast()
280 fBlocks.back().fBytesFree -= size; in makeSpaceAtLeast()
293 size_t bytesUsed = block.fBuffer->size() - block.fBytesFree; in putBack()
305 block.fBytesFree += bytes; in putBack()
328 block.fBytesFree = block.fBuffer->size(); in createBlock()
337 this->flushCpuData(prev, prev.fBuffer->size() - prev.fBytesFree); in createBlock()
358 this->resetCpuData(block.fBytesFree); in createBlock()