Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c1096 ZSTDMT_jobDescription* jobPtr = &mtctx->jobs[wJobID]; in ZSTDMT_getFrameProgression() local
1097 ZSTD_pthread_mutex_lock(&jobPtr->job_mutex); in ZSTDMT_getFrameProgression()
1098 { size_t const cResult = jobPtr->cSize; in ZSTDMT_getFrameProgression()
1100 size_t const flushed = ZSTD_isError(cResult) ? 0 : jobPtr->dstFlushed; in ZSTDMT_getFrameProgression()
1102 fps.ingested += jobPtr->src.size; in ZSTDMT_getFrameProgression()
1103 fps.consumed += jobPtr->consumed; in ZSTDMT_getFrameProgression()
1106 fps.nbActiveWorkers += (jobPtr->consumed < jobPtr->src.size); in ZSTDMT_getFrameProgression()
1124 ZSTDMT_jobDescription* const jobPtr = &mtctx->jobs[wJobID]; in ZSTDMT_toFlushNow() local
1125 ZSTD_pthread_mutex_lock(&jobPtr->job_mutex); in ZSTDMT_toFlushNow()
1126 { size_t const cResult = jobPtr->cSize; in ZSTDMT_toFlushNow()
[all …]