Lines Matching refs:nfreepools
309 uint nfreepools; member
643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
647 --arenaobj->nfreepools; in new_arena()
650 arenaobj->ntotalpools = arenaobj->nfreepools; in new_arena()
890 --usable_arenas->nfreepools; in PyObject_Malloc()
891 if (usable_arenas->nfreepools == 0) { in PyObject_Malloc()
950 assert(usable_arenas->nfreepools > 0); in PyObject_Malloc()
959 --usable_arenas->nfreepools; in PyObject_Malloc()
961 if (usable_arenas->nfreepools == 0) { in PyObject_Malloc()
1053 nf = ++ao->nfreepools; in PyObject_Free()
1136 nf <= ao->nextarena->nfreepools) { in PyObject_Free()
1162 nf > ao->nextarena->nfreepools) { in PyObject_Free()
1178 nf <= ao->nextarena->nfreepools); in PyObject_Free()
1180 nf > ao->prevarena->nfreepools); in PyObject_Free()
1841 numfreepools += arenas[i].nfreepools; in _PyObject_DebugMallocStats()