Searched refs:toFlush (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstdmt_compress.c | 1117 size_t toFlush; in ZSTDMT_toFlushNow() local 1131 toFlush = produced - flushed; in ZSTDMT_toFlushNow() 1137 if (toFlush==0) { in ZSTDMT_toFlushNow() 1144 return toFlush; in ZSTDMT_toFlushNow() 1483 … size_t const toFlush = MIN(cSize - mtctx->jobs[wJobID].dstFlushed, output->size - output->pos); in ZSTDMT_flushProduced() local 1485 (U32)toFlush, mtctx->doneJobID, (U32)srcConsumed, (U32)srcSize, (U32)cSize); in ZSTDMT_flushProduced() 1489 if (toFlush > 0) { in ZSTDMT_flushProduced() 1492 toFlush); in ZSTDMT_flushProduced() 1494 output->pos += toFlush; in ZSTDMT_flushProduced() 1495 … mtctx->jobs[wJobID].dstFlushed += toFlush; /* can write : this value is only used by mtctx */ in ZSTDMT_flushProduced()
|
H A D | zstd_compress.c | 5459 { size_t const toFlush = zcs->outBuffContentSize - zcs->outBuffFlushedSize; in ZSTD_compressStream_generic() local 5461 zcs->outBuff + zcs->outBuffFlushedSize, toFlush); in ZSTD_compressStream_generic() 5463 (unsigned)toFlush, (unsigned)(oend-op), (unsigned)flushed); in ZSTD_compressStream_generic() 5467 if (toFlush!=flushed) { in ZSTD_compressStream_generic() 6176 size_t const toFlush = remainingToFlush + lastBlockSize + checksumSize; in ZSTD_endStream() local 6177 DEBUGLOG(4, "ZSTD_endStream : remaining to flush : %u", (unsigned)toFlush); in ZSTD_endStream() 6178 return toFlush; in ZSTD_endStream()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_compress.c | 3908 { size_t const toFlush = zcs->outBuffContentSize - zcs->outBuffFlushedSize; in ZSTD_compressStream_generic() local 3910 zcs->outBuff + zcs->outBuffFlushedSize, toFlush); in ZSTD_compressStream_generic() 3912 (unsigned)toFlush, (unsigned)(oend-op), (unsigned)flushed); in ZSTD_compressStream_generic() 3916 if (toFlush!=flushed) { in ZSTD_compressStream_generic() 4106 size_t const toFlush = remainingToFlush + lastBlockSize + checksumSize; in ZSTD_endStream() local 4107 DEBUGLOG(4, "ZSTD_endStream : remaining to flush : %u", (unsigned)toFlush); in ZSTD_endStream() 4108 return toFlush; in ZSTD_endStream()
|