Home
last modified time | relevance | path

Searched refs:toFlush (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c1149 size_t toFlush; in ZSTDMT_toFlushNow() local
1163 toFlush = produced - flushed; in ZSTDMT_toFlushNow()
1169 if (toFlush==0) { in ZSTDMT_toFlushNow()
1176 return toFlush; in ZSTDMT_toFlushNow()
1535 … size_t const toFlush = MIN(cSize - mtctx->jobs[wJobID].dstFlushed, output->size - output->pos); in ZSTDMT_flushProduced() local
1537 (U32)toFlush, mtctx->doneJobID, (U32)srcConsumed, (U32)srcSize, (U32)cSize); in ZSTDMT_flushProduced()
1541 if (toFlush > 0) { in ZSTDMT_flushProduced()
1544 toFlush); in ZSTDMT_flushProduced()
1546 output->pos += toFlush; in ZSTDMT_flushProduced()
1547 … mtctx->jobs[wJobID].dstFlushed += toFlush; /* can write : this value is only used by mtctx */ in ZSTDMT_flushProduced()
H A Dzstd_compress.c6253 { size_t const toFlush = zcs->outBuffContentSize - zcs->outBuffFlushedSize; in ZSTD_compressStream_generic() local
6255 zcs->outBuff + zcs->outBuffFlushedSize, toFlush); in ZSTD_compressStream_generic()
6257 (unsigned)toFlush, (unsigned)(oend-op), (unsigned)flushed); in ZSTD_compressStream_generic()
6261 if (toFlush!=flushed) { in ZSTD_compressStream_generic()
7663 size_t const toFlush = remainingToFlush + lastBlockSize + checksumSize; in ZSTD_endStream() local
7664 DEBUGLOG(4, "ZSTD_endStream : remaining to flush : %u", (unsigned)toFlush); in ZSTD_endStream()
7665 return toFlush; in ZSTD_endStream()
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_compress.c6254 { size_t const toFlush = zcs->outBuffContentSize - zcs->outBuffFlushedSize; in ZSTD_compressStream_generic() local
6256 zcs->outBuff + zcs->outBuffFlushedSize, toFlush); in ZSTD_compressStream_generic()
6258 (unsigned)toFlush, (unsigned)(oend-op), (unsigned)flushed); in ZSTD_compressStream_generic()
6262 if (toFlush!=flushed) { in ZSTD_compressStream_generic()
7664 size_t const toFlush = remainingToFlush + lastBlockSize + checksumSize; in ZSTD_endStream() local
7665 DEBUGLOG(4, "ZSTD_endStream : remaining to flush : %u", (unsigned)toFlush); in ZSTD_endStream()
7666 return toFlush; in ZSTD_endStream()