Home
last modified time | relevance | path

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

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