Lines Matching refs:nfreepools
926 uint nfreepools; member
1259 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
1260 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
1263 --arenaobj->nfreepools; in new_arena()
1266 arenaobj->ntotalpools = arenaobj->nfreepools; in new_arena()
1473 --usable_arenas->nfreepools; in pymalloc_alloc()
1474 if (usable_arenas->nfreepools == 0) { in pymalloc_alloc()
1533 assert(usable_arenas->nfreepools > 0); in pymalloc_alloc()
1542 --usable_arenas->nfreepools; in pymalloc_alloc()
1544 if (usable_arenas->nfreepools == 0) { in pymalloc_alloc()
1692 nf = ++ao->nfreepools; in pymalloc_free()
1772 nf <= ao->nextarena->nfreepools) { in pymalloc_free()
1796 while (ao->nextarena != NULL && nf > ao->nextarena->nfreepools) { in pymalloc_free()
1811 assert(ao->nextarena == NULL || nf <= ao->nextarena->nfreepools); in pymalloc_free()
1812 assert(ao->prevarena == NULL || nf > ao->prevarena->nfreepools); in pymalloc_free()
2562 numfreepools += arenas[i].nfreepools; in _PyObject_DebugMallocStats()