Lines Matching refs:arenas
521 static struct arena_object* arenas = NULL; variable
580 if (numarenas > PY_SIZE_MAX / sizeof(*arenas)) in new_arena()
583 nbytes = numarenas * sizeof(*arenas); in new_arena()
584 arenaobj = (struct arena_object *)realloc(arenas, nbytes); in new_arena()
587 arenas = arenaobj; in new_arena()
600 arenas[i].address = 0; /* mark as unassociated */ in new_arena()
601 arenas[i].nextarena = i < numarenas - 1 ? in new_arena()
602 &arenas[i+1] : NULL; in new_arena()
606 unused_arena_objects = &arenas[maxarenas]; in new_arena()
739 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \
740 arenas[arenaindex_temp].address != 0)
955 pool->arenaindex = usable_arenas - arenas; in PyObject_Malloc()
956 assert(&arenas[pool->arenaindex] == usable_arenas); in PyObject_Malloc()
1050 ao = &arenas[pool->arenaindex]; in PyObject_Free()
1834 uptr base = arenas[i].address; in _PyObject_DebugMallocStats()
1837 if (arenas[i].address == (uptr)NULL) in _PyObject_DebugMallocStats()
1841 numfreepools += arenas[i].nfreepools; in _PyObject_DebugMallocStats()
1851 assert(base <= (uptr) arenas[i].pool_address); in _PyObject_DebugMallocStats()
1853 base < (uptr) arenas[i].pool_address; in _PyObject_DebugMallocStats()
1861 assert(pool_is_in_list(p, arenas[i].freepools)); in _PyObject_DebugMallocStats()
1940 (uptr)P - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && in Py_ADDRESS_IN_RANGE()
1941 arenas[arenaindex_temp].address != 0; in Py_ADDRESS_IN_RANGE()