Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dobmalloc.c946 #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()
[all …]