Lines Matching refs:POOL_SIZE
920 #define POOL_SIZE SYSTEM_PAGE_SIZE /* must be 2^N */ macro
923 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)
924 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE
998 #define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
1001 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1224 uintptr_t base = (uintptr_t)_Py_ALIGN_UP(arenas[i].address, POOL_SIZE); in _Py_GetAllocatedBlocks()
1228 for (; base < (uintptr_t) arenas[i].pool_address; base += POOL_SIZE) { in _Py_GetAllocatedBlocks()
1327 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()
1519 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
1528 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
1532 usable_arenas->pool_address += POOL_SIZE; in allocate_from_new_pool()
1575 pool->maxnextoffset = POOL_SIZE - size; in allocate_from_new_pool()
2651 arena_alignment += POOL_SIZE; in _PyObject_DebugMallocStats()
2653 base += POOL_SIZE; in _PyObject_DebugMallocStats()
2659 ++j, base += POOL_SIZE) { in _PyObject_DebugMallocStats()
2705 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size); in _PyObject_DebugMallocStats()
2729 "%u unused pools * %d bytes", numfreepools, POOL_SIZE); in _PyObject_DebugMallocStats()
2730 total += printone(out, buf, (size_t)numfreepools * POOL_SIZE); in _PyObject_DebugMallocStats()