Searched refs:firstJob (Results 1 – 1 of 1) sorted by relevance
675 unsigned firstJob; /* set by mtctx, then read by worker => no barrier */ member730 assert(job->firstJob); /* only allowed for first job */ in ZSTDMT_compressionJob()733 U64 const pledgedSrcSize = job->firstJob ? job->fullFrameSize : job->src.size; in ZSTDMT_compressionJob()734 …forceWindowError = ZSTD_CCtxParams_setParameter(&jobParams, ZSTD_c_forceMaxWindow, !job->firstJob); in ZSTDMT_compressionJob()737 if (!job->firstJob) { in ZSTDMT_compressionJob()753 if (!job->firstJob) { /* flush and overwrite frame header when it's not first job */ in ZSTDMT_compressionJob()797 if (!job->firstJob) { in ZSTDMT_compressionJob()1389 assert(job->firstJob == 0); /* cannot be first job, as it also needs to create frame header */ in ZSTDMT_writeLastEmptyBlock()1433 mtctx->jobs[jobID].firstJob = (mtctx->nextJobID==0); in ZSTDMT_createCompressionJob()