Lines Matching defs:ARENA_SIZE
962 #define ARENA_SIZE (1 << ARENA_BITS)
963 #define ARENA_SIZE_MASK (ARENA_SIZE - 1)
966 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)
986 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)
987 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE
1261 * 16 = can allocate 16 arenas = 16 * ARENA_SIZE = 4MB before growing the
1533 uintptr_t arena_base_next = arena_base + ARENA_SIZE;
1641 address = _PyObject_Arena.alloc(_PyObject_Arena.ctx, ARENA_SIZE);
1646 _PyObject_Arena.free(_PyObject_Arena.ctx, address, ARENA_SIZE);
1705 B <= P < B + ARENA_SIZE
1709 0 <= P-B < ARENA_SIZE
1722 correct base address of the pool's arena, and P must be within ARENA_SIZE of
1735 AO.address+ARENA_SIZE. By case assumption, P is not controlled by obmalloc,
1743 P < ARENA_SIZE
1745 If P >= ARENA_SIZE (extremely likely), the macro again correctly concludes
1746 that P is not controlled by obmalloc. However, if P < ARENA_SIZE, this part
1750 slice AO.address : AO.address + ARENA_SIZE).
1755 obmalloc, AO corresponds to an unused arena_object, and P < ARENA_SIZE" case
1779 (uintptr_t)p - arenas[arenaindex].address < ARENA_SIZE &&
1877 ARENA_SIZE - POOL_SIZE);
1886 ARENA_SIZE - POOL_SIZE);
2136 (void *)ao->address, ARENA_SIZE);
2987 /* running total -- should equal narenas * ARENA_SIZE */
3078 narenas, ARENA_SIZE);
3079 (void)printone(out, buf, narenas * ARENA_SIZE);
3095 assert(narenas * ARENA_SIZE == total);