Searched refs:poolId (Results 1 – 2 of 2) sorted by relevance
/external/srec/portable/src/ |
D | pmemfixed.c | 185 char* initMemPool(int poolId, int memBlockSize, int numOfMemBlocks, char** startAddress); 189 void increaseMemPoolSize(unsigned int poolId); 369 char* initMemPool(int poolId, int memBlockSize, int numOfMemBlocks, char** startAddress) in initMemPool() argument 380 *((unsigned int*)pCurrMemBlock) = poolId; in initMemPool() 417 int poolId; in PortMalloc() local 427 poolId = NUM_OF_POOLS; in PortMalloc() 435 poolId = ii; in PortMalloc() 442 if (NUM_OF_POOLS > poolId) in PortMalloc() 448 for (ii = poolId; ii < NUM_OF_POOLS; ii++) in PortMalloc() 526 void increaseMemPoolSize(unsigned int poolId) in increaseMemPoolSize() argument [all …]
|
D | pmemblock.c | 52 unsigned long poolId; member 244 memoryPool[i].poolInfo[j].poolId = 0; in InitPools() 263 unsigned long retval = pt_delete(memoryPool[i].poolInfo[j].poolId); in TermPools() 269 memoryPool[i].poolInfo[j].poolId = 0; in TermPools() 287 unsigned long poolId, unused; in CreatePool() local 321 1 << whichPool, PT_LOCAL | PT_DEL, &poolId, &unused); in CreatePool() 329 memoryPool[whichPool].poolInfo[currentNumberOfPools].poolId = poolId; in CreatePool() 352 PORT_ASSERT(memoryPool[whichPool].poolInfo[poolIndex].poolId); in AllocateFromPsos() 354 retval = pt_getbuf(memoryPool[whichPool].poolInfo[poolIndex].poolId, &pMemory); in AllocateFromPsos() 464 uint32 retval = pt_retbuf(memoryPool[whichPool].poolInfo[whichBin].poolId, pRealMemory); in PortMemBlockDeleteFromPool()
|