Lines Matching refs:POOL_SIZE
946 #define POOL_SIZE (1 << POOL_BITS) macro
947 #define POOL_SIZE_MASK (POOL_SIZE - 1)
950 #if POOL_SIZE != SYSTEM_PAGE_SIZE
955 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)
956 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE
1030 #define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
1033 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1256 uintptr_t base = (uintptr_t)_Py_ALIGN_UP(arenas[i].address, POOL_SIZE); in _Py_GetAllocatedBlocks()
1260 for (; base < (uintptr_t) arenas[i].pool_address; base += POOL_SIZE) { in _Py_GetAllocatedBlocks()
1626 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()
1830 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
1839 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
1843 usable_arenas->pool_address += POOL_SIZE; in allocate_from_new_pool()
1886 pool->maxnextoffset = POOL_SIZE - size; in allocate_from_new_pool()
2967 arena_alignment += POOL_SIZE; in _PyObject_DebugMallocStats()
2969 base += POOL_SIZE; in _PyObject_DebugMallocStats()
2975 ++j, base += POOL_SIZE) { in _PyObject_DebugMallocStats()
3018 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size); in _PyObject_DebugMallocStats()
3043 "%u unused pools * %d bytes", numfreepools, POOL_SIZE); in _PyObject_DebugMallocStats()
3044 total += printone(out, buf, (size_t)numfreepools * POOL_SIZE); in _PyObject_DebugMallocStats()