Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c646 …buffer_t dstBuff; /* set by worker (or mtctx), then read by worker & mtctx, the… member
673 buffer_t dstBuff = job->dstBuff; in ZSTDMT_compressionJob() local
678 if (dstBuff.start == NULL) { /* streaming job : doesn't provide a dstBuffer */ in ZSTDMT_compressionJob()
679 dstBuff = ZSTDMT_getBuffer(job->bufPool); in ZSTDMT_compressionJob()
680 if (dstBuff.start==NULL) JOB_ERROR(ERROR(memory_allocation)); in ZSTDMT_compressionJob()
681 …job->dstBuff = dstBuff; /* this value can be read in ZSTDMT_flush, when it copies the whole job … in ZSTDMT_compressionJob()
722 …size_t const hSize = ZSTD_compressContinue(cctx, dstBuff.start, dstBuff.capacity, job->src.start, … in ZSTDMT_compressionJob()
732 BYTE* const ostart = (BYTE*)dstBuff.start; in ZSTDMT_compressionJob()
734 BYTE* oend = op + dstBuff.capacity; in ZSTDMT_compressionJob()
984 …GLOG(4, "job%02u: release dst address %08X", jobID, (U32)(size_t)mtctx->jobs[jobID].dstBuff.start); in ZSTDMT_releaseAllJobResources()
[all …]