Searched refs:ARENA_SIZE (Results 1 – 2 of 2) sorted by relevance
217 #define ARENA_SIZE (256 << 10) /* 256KB */ macro220 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)616 address = mmap(NULL, ARENA_SIZE, PROT_READ|PROT_WRITE, in new_arena()620 address = malloc(ARENA_SIZE); in new_arena()643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()739 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \913 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()954 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()1102 munmap((void *)ao->address, ARENA_SIZE); in PyObject_Free()[all …]
187 #define ARENA_SIZE (256 << 10) /* 256KB */ macro190 #define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)580 arenaobj->address = (uptr)malloc(ARENA_SIZE); in new_arena()600 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()601 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()696 (uptr)(P) - arenas[arenaindex_temp].address < (uptr)ARENA_SIZE && \870 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()911 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()1855 narenas, ARENA_SIZE); in _PyObject_DebugMallocStats()1856 (void)printone(buf, narenas * ARENA_SIZE); in _PyObject_DebugMallocStats()[all …]