Lines Matching refs:nextarena
948 struct arena_object* nextarena; member
1226 arenas[i].nextarena = i < numarenas - 1 ? in new_arena()
1238 unused_arena_objects = arenaobj->nextarena; in new_arena()
1245 arenaobj->nextarena = unused_arena_objects; in new_arena()
1455 usable_arenas->nextarena = in pymalloc_alloc()
1477 assert(usable_arenas->nextarena == NULL || in pymalloc_alloc()
1478 usable_arenas->nextarena->prevarena == in pymalloc_alloc()
1481 usable_arenas = usable_arenas->nextarena; in pymalloc_alloc()
1545 assert(usable_arenas->nextarena == NULL || in pymalloc_alloc()
1546 usable_arenas->nextarena->prevarena == in pymalloc_alloc()
1549 usable_arenas = usable_arenas->nextarena; in pymalloc_alloc()
1711 assert(ao ->nextarena == NULL || in pymalloc_free()
1712 ao->nextarena->address != 0); in pymalloc_free()
1718 usable_arenas = ao->nextarena; in pymalloc_free()
1723 assert(ao->prevarena->nextarena == ao); in pymalloc_free()
1724 ao->prevarena->nextarena = in pymalloc_free()
1725 ao->nextarena; in pymalloc_free()
1728 if (ao->nextarena != NULL) { in pymalloc_free()
1729 assert(ao->nextarena->prevarena == ao); in pymalloc_free()
1730 ao->nextarena->prevarena = in pymalloc_free()
1736 ao->nextarena = unused_arena_objects; in pymalloc_free()
1754 ao->nextarena = usable_arenas; in pymalloc_free()
1771 if (ao->nextarena == NULL || in pymalloc_free()
1772 nf <= ao->nextarena->nfreepools) { in pymalloc_free()
1783 assert(ao->prevarena->nextarena == ao); in pymalloc_free()
1784 ao->prevarena->nextarena = ao->nextarena; in pymalloc_free()
1789 usable_arenas = ao->nextarena; in pymalloc_free()
1791 ao->nextarena->prevarena = ao->prevarena; in pymalloc_free()
1796 while (ao->nextarena != NULL && nf > ao->nextarena->nfreepools) { in pymalloc_free()
1797 ao->prevarena = ao->nextarena; in pymalloc_free()
1798 ao->nextarena = ao->nextarena->nextarena; in pymalloc_free()
1802 assert(ao->nextarena == NULL || ao->prevarena == ao->nextarena->prevarena); in pymalloc_free()
1803 assert(ao->prevarena->nextarena == ao->nextarena); in pymalloc_free()
1805 ao->prevarena->nextarena = ao; in pymalloc_free()
1806 if (ao->nextarena != NULL) { in pymalloc_free()
1807 ao->nextarena->prevarena = ao; in pymalloc_free()
1811 assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools); in pymalloc_free()
1813 assert(ao->nextarena == NULL || ao->nextarena->prevarena == ao); in pymalloc_free()
1815 || ao->prevarena->nextarena == ao); in pymalloc_free()