Home
last modified time | relevance | path

Searched refs:usable_arenas (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dobmalloc.c533 static struct arena_object* usable_arenas = NULL; variable
595 assert(usable_arenas == NULL); in new_arena()
859 if (usable_arenas == NULL) { in PyObject_Malloc()
867 usable_arenas = new_arena(); in PyObject_Malloc()
868 if (usable_arenas == NULL) { in PyObject_Malloc()
872 usable_arenas->nextarena = in PyObject_Malloc()
873 usable_arenas->prevarena = NULL; in PyObject_Malloc()
875 assert(usable_arenas->address != 0); in PyObject_Malloc()
878 pool = usable_arenas->freepools; in PyObject_Malloc()
881 usable_arenas->freepools = pool->nextpool; in PyObject_Malloc()
[all …]
/external/python/cpython3/Objects/
Dobmalloc.c1148 static struct arena_object* usable_arenas = NULL; variable
1220 assert(usable_arenas == NULL); in new_arena()
1444 if (usable_arenas == NULL) { in pymalloc_alloc()
1451 usable_arenas = new_arena(); in pymalloc_alloc()
1452 if (usable_arenas == NULL) { in pymalloc_alloc()
1455 usable_arenas->nextarena = in pymalloc_alloc()
1456 usable_arenas->prevarena = NULL; in pymalloc_alloc()
1458 assert(usable_arenas->address != 0); in pymalloc_alloc()
1461 pool = usable_arenas->freepools; in pymalloc_alloc()
1464 usable_arenas->freepools = pool->nextpool; in pymalloc_alloc()
[all …]