Searched refs:POOL_SIZE (Results 1 – 10 of 10) sorted by relevance
227 #define POOL_SIZE SYSTEM_PAGE_SIZE /* must be 2^N */ macro345 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()648 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()913 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()942 pool->maxnextoffset = POOL_SIZE - size; in PyObject_Malloc()954 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()958 usable_arenas->pool_address += POOL_SIZE; in PyObject_Malloc()1845 arena_alignment += POOL_SIZE; in _PyObject_DebugMallocStats()[all …]
37 static const unsigned int POOL_SIZE = 512; member in IdentifierResolver::IdDeclInfoMap44 IdDeclInfo Pool[POOL_SIZE];50 unsigned int CurIndex = POOL_SIZE;403 if (CurIndex == POOL_SIZE) { in operator []()
32 static const unsigned int POOL_SIZE = 512; member in IdentifierResolver::IdDeclInfoMap41 IdDeclInfo Pool[POOL_SIZE];48 IdDeclInfoMap() : CurPool(nullptr), CurIndex(POOL_SIZE) {} in IdDeclInfoMap()399 if (CurIndex == POOL_SIZE) { in operator []()
920 #define POOL_SIZE SYSTEM_PAGE_SIZE /* must be 2^N */ macro923 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)924 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE998 #define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))1001 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))1224 uintptr_t base = (uintptr_t)_Py_ALIGN_UP(arenas[i].address, POOL_SIZE); in _Py_GetAllocatedBlocks()1228 for (; base < (uintptr_t) arenas[i].pool_address; base += POOL_SIZE) { in _Py_GetAllocatedBlocks()1327 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()1519 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()1528 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()[all …]
42 static byte pool[POOL_SIZE] = {0};66 if (pool_free_pos + total_req_size <= POOL_SIZE) in get_mem_from_pool()
68 #define POOL_SIZE 8 * 1024 macro
162 thread_pool_size=test_constants.POOL_SIZE)180 thread_pool_size=test_constants.POOL_SIZE)293 thread_pool_size=test_constants.POOL_SIZE)303 thread_pool_size=test_constants.POOL_SIZE)
45 POOL_SIZE = 10 variable