Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c650 unsigned firstJob; /* set by mtctx, then read by worker => no barrier */ member
699 assert(job->firstJob); /* only allowed for first job */ in ZSTDMT_compressionJob()
702 U64 const pledgedSrcSize = job->firstJob ? job->fullFrameSize : job->src.size; in ZSTDMT_compressionJob()
703 …forceWindowError = ZSTD_CCtxParams_setParameter(&jobParams, ZSTD_c_forceMaxWindow, !job->firstJob); in ZSTDMT_compressionJob()
706 if (!job->firstJob) { in ZSTDMT_compressionJob()
721 if (!job->firstJob) { /* flush and overwrite frame header when it's not first job */ in ZSTDMT_compressionJob()
765 if (!job->firstJob) { in ZSTDMT_compressionJob()
1337 assert(job->firstJob == 0); /* cannot be first job, as it also needs to create frame header */ in ZSTDMT_writeLastEmptyBlock()
1381 mtctx->jobs[jobID].firstJob = (mtctx->nextJobID==0); in ZSTDMT_createCompressionJob()