Searched refs:nfreepools (Results 1 – 2 of 2) sorted by relevance
967 uint nfreepools; member1323 arenaobj->nfreepools = MAX_POOLS_IN_ARENA; in new_arena()1326 --arenaobj->nfreepools; in new_arena()1329 arenaobj->ntotalpools = arenaobj->nfreepools; in new_arena()1471 assert(nfp2lasta[usable_arenas->nfreepools] == NULL); in allocate_from_new_pool()1472 nfp2lasta[usable_arenas->nfreepools] = usable_arenas; in allocate_from_new_pool()1481 assert(usable_arenas->nfreepools > 0); in allocate_from_new_pool()1482 if (nfp2lasta[usable_arenas->nfreepools] == usable_arenas) { in allocate_from_new_pool()1484 nfp2lasta[usable_arenas->nfreepools] = NULL; in allocate_from_new_pool()1487 if (usable_arenas->nfreepools > 1) { in allocate_from_new_pool()[all …]
309 uint nfreepools; member643 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()[all …]