Lines Matching refs:arena_object

1016 struct arena_object {
1019 * here to mark an arena_object that doesn't correspond to an
1038 /* Whenever this arena_object is not associated with an allocated
1043 * When this arena_object is associated with an allocated arena
1048 * Else this arena_object is associated with an allocated arena
1052 struct arena_object* nextarena;
1053 struct arena_object* prevarena;
1076 Pools are carved off an arena's highwater mark (an arena_object's pool_address
1103 and linked to the front of its arena_object's singly-linked freepools list,
1212 PyObject_Free() when the arena is empty. Key invariant: an arena_object
1226 Note that an arena_object associated with an arena all of whose pools are
1243 static struct arena_object* arenas = NULL;
1250 static struct arena_object* unused_arena_objects = NULL;
1255 static struct arena_object* usable_arenas = NULL;
1258 static struct arena_object* nfp2lasta[MAX_POOLS_IN_ARENA + 1] = { NULL };
1574 * allocate a new arena, and return the address of an arena_object
1578 static struct arena_object*
1581 struct arena_object* arenaobj;
1610 arenaobj = (struct arena_object *)PyMem_RawRealloc(arenas, nbytes);
1719 Details: given P and POOL, the arena_object corresponding to P is AO =
1740 arena_object (one not currently associated with an allocated arena),
1755 obmalloc, AO corresponds to an unused arena_object, and P < ARENA_SIZE" case
1837 * we need to remove its arena_object from usable_arenas.
2058 struct arena_object *ao = &arenas[pool->arenaindex];
2066 struct arena_object* lastnf = nfp2lasta[nf];
2074 struct arena_object* p = ao->prevarena;
2123 /* Record that this arena_object slot is