Searched refs:nbJobs (Results 1 – 1 of 1) sorted by relevance
766 static void ZSTDMT_freeJobsTable(ZSTDMT_jobDescription* jobTable, U32 nbJobs, ZSTD_customMem cMem) in ZSTDMT_freeJobsTable() argument770 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_freeJobsTable()783 U32 const nbJobs = 1 << nbJobsLog2; in ZSTDMT_createJobsTable() local786 ZSTD_calloc(nbJobs * sizeof(ZSTDMT_jobDescription), cMem); in ZSTDMT_createJobsTable()789 *nbJobsPtr = nbJobs; in ZSTDMT_createJobsTable()790 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_createJobsTable()795 ZSTDMT_freeJobsTable(jobTable, nbJobs, cMem); in ZSTDMT_createJobsTable()815 U32 nbJobs = nbWorkers + 2; in ZSTDMT_createCCtx_advanced() local831 mtctx->jobs = ZSTDMT_createJobsTable(&nbJobs, cMem); in ZSTDMT_createCCtx_advanced()832 assert(nbJobs > 0); assert((nbJobs & (nbJobs - 1)) == 0); /* ensure nbJobs is a power of 2 */ in ZSTDMT_createCCtx_advanced()[all …]