Lines Matching refs:numBlocksMax
199 if (++mtc->blockIndex >= mtc->numBlocksMax) in ThreadFunc2()
294 if (++wi >= mtc->numBlocksMax) in ThreadFunc2()
455 unsigned numBlocksMax; in MtCoder_Code() local
461 numBlocksMax = MTCODER__GET_NUM_BLOCKS_FROM_THREADS(numThreads); in MtCoder_Code()
463 if (p->blockSize < ((UInt32)1 << 26)) numBlocksMax++; in MtCoder_Code()
464 if (p->blockSize < ((UInt32)1 << 24)) numBlocksMax++; in MtCoder_Code()
465 if (p->blockSize < ((UInt32)1 << 22)) numBlocksMax++; in MtCoder_Code()
467 if (numBlocksMax > MTCODER__BLOCKS_MAX) in MtCoder_Code()
468 numBlocksMax = MTCODER__BLOCKS_MAX; in MtCoder_Code()
489 for (i = 0; i < numBlocksMax; i++) in MtCoder_Code()
504 RINOK_THREAD(Semaphore_Create(&p->blocksSemaphore, numBlocksMax, numBlocksMax)); in MtCoder_Code()
514 p->numBlocksMax = numBlocksMax; in MtCoder_Code()
542 if (bi >= numBlocksMax) in MtCoder_Code()