Home
last modified time | relevance | path

Searched refs:whichPool (Results 1 – 1 of 1) sorted by relevance

/external/srec/portable/src/
Dpmemblock.c282 static BOOL CreatePool(uint32 whichPool, uint32 poolSize) in CreatePool() argument
289 uint32 currentNumberOfPools = memoryPool[whichPool].currentNumberOfPools; in CreatePool()
291 PORT_ASSERT((whichPool >= 0) && (whichPool < NUM_POOL_BINS)); in CreatePool()
297 if (whichPool < 2) in CreatePool()
307 pMemory = malloc(poolSize * (1 << whichPool) + PARTITION_CONTROL_BLOCK_SIZE); in CreatePool()
320 … retval = pt_create(name, pMemory, 0, poolSize * (1 << whichPool) + PARTITION_CONTROL_BLOCK_SIZE, in CreatePool()
321 1 << whichPool, PT_LOCAL | PT_DEL, &poolId, &unused); in CreatePool()
329 memoryPool[whichPool].poolInfo[currentNumberOfPools].poolId = poolId; in CreatePool()
330 memoryPool[whichPool].poolInfo[currentNumberOfPools].pMemory = pMemory; in CreatePool()
331 memoryPool[whichPool].poolInfo[currentNumberOfPools].size = poolSize; in CreatePool()
[all …]