Searched refs:nbJobs (Results 1 – 1 of 1) sorted by relevance
862 static void ZSTDMT_freeJobsTable(ZSTDMT_jobDescription* jobTable, U32 nbJobs, ZSTD_customMem cMem) in ZSTDMT_freeJobsTable() argument866 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_freeJobsTable()879 U32 const nbJobs = 1 << nbJobsLog2; in ZSTDMT_createJobsTable() local882 ZSTD_customCalloc(nbJobs * sizeof(ZSTDMT_jobDescription), cMem); in ZSTDMT_createJobsTable()885 *nbJobsPtr = nbJobs; in ZSTDMT_createJobsTable()886 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_createJobsTable()891 ZSTDMT_freeJobsTable(jobTable, nbJobs, cMem); in ZSTDMT_createJobsTable()898 U32 nbJobs = nbWorkers + 2; in ZSTDMT_expandJobsTable() local899 if (nbJobs > mtctx->jobIDMask+1) { /* need more job capacity */ in ZSTDMT_expandJobsTable()902 mtctx->jobs = ZSTDMT_createJobsTable(&nbJobs, mtctx->cMem); in ZSTDMT_expandJobsTable()[all …]