Lines Matching refs:poolIndex
347 static void* AllocateFromPsos(uint32 whichPool, uint32 poolIndex, uint32 size)
352 PORT_ASSERT(memoryPool[whichPool].poolInfo[poolIndex].poolId);
354 retval = pt_getbuf(memoryPool[whichPool].poolInfo[poolIndex].poolId, &pMemory);
360 *((unsigned long *)pMemory) = (whichPool << 27) + (poolIndex << 24) + size;
370 uint32 poolIndex;
389 for (poolIndex = 0; poolIndex < memoryPool[whichPool].currentNumberOfPools; poolIndex++)
391 pMemory = AllocateFromPsos(whichPool, poolIndex, size);
418 int poolIndex;
429 for (poolIndex = whichPool; poolIndex < 32; poolIndex++)
430 if (memoryPool[poolIndex].poolInfo[0].pMemory != NULL)
433 whichPool = poolIndex;