HomeSort by relevance Sort by last modified time
    Searched full:whichpool (Results 1 - 1 of 1) sorted by null

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

Completed in 62 milliseconds