Lines Matching refs:ARENA_SIZE
217 #define ARENA_SIZE (256 << 10) /* 256KiB */ macro
220 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)
616 address = mmap(NULL, ARENA_SIZE, PROT_READ|PROT_WRITE, in new_arena()
620 address = malloc(ARENA_SIZE); in new_arena()
643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
739 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \
913 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()
954 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()
1102 munmap((void *)ao->address, ARENA_SIZE); in PyObject_Free()
1910 narenas, ARENA_SIZE); in _PyObject_DebugMallocStats()
1911 (void)printone(buf, narenas * ARENA_SIZE); in _PyObject_DebugMallocStats()
1940 (uptr)P - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && in Py_ADDRESS_IN_RANGE()