Searched refs:poolIndex (Results 1 – 1 of 1) sorted by relevance
347 static void* AllocateFromPsos(uint32 whichPool, uint32 poolIndex, uint32 size) in AllocateFromPsos() argument352 PORT_ASSERT(memoryPool[whichPool].poolInfo[poolIndex].poolId); in AllocateFromPsos()354 retval = pt_getbuf(memoryPool[whichPool].poolInfo[poolIndex].poolId, &pMemory); in AllocateFromPsos()360 *((unsigned long *)pMemory) = (whichPool << 27) + (poolIndex << 24) + size; in AllocateFromPsos()370 uint32 poolIndex; in SearchPoolsForMemory() local389 for (poolIndex = 0; poolIndex < memoryPool[whichPool].currentNumberOfPools; poolIndex++) in SearchPoolsForMemory()391 pMemory = AllocateFromPsos(whichPool, poolIndex, size); in SearchPoolsForMemory()418 int poolIndex; in PortMemBlockAllocateFromPool() local429 for (poolIndex = whichPool; poolIndex < 32; poolIndex++) in PortMemBlockAllocateFromPool()430 if (memoryPool[poolIndex].poolInfo[0].pMemory != NULL) in PortMemBlockAllocateFromPool()[all …]