Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c848 unsigned jobIDMask; member
899 if (nbJobs > mtctx->jobIDMask+1) { /* need more job capacity */ in ZSTDMT_expandJobsTable()
900 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_expandJobsTable()
901 mtctx->jobIDMask = 0; in ZSTDMT_expandJobsTable()
905 mtctx->jobIDMask = nbJobs - 1; in ZSTDMT_expandJobsTable()
946 mtctx->jobIDMask = nbJobs - 1; in ZSTDMT_createCCtx_advanced_internal()
979 for (jobID=0; jobID <= mtctx->jobIDMask; jobID++) { in ZSTDMT_releaseAllJobResources()
1001 unsigned const jobID = mtctx->doneJobID & mtctx->jobIDMask; in ZSTDMT_waitForAllJobsCompleted()
1018 ZSTDMT_freeJobsTable(mtctx->jobs, mtctx->jobIDMask+1, mtctx->cMem); in ZSTDMT_freeCCtx()
1036 + (mtctx->jobIDMask+1) * sizeof(ZSTDMT_jobDescription) in ZSTDMT_sizeof_CCtx()
[all …]