Lines Matching refs:ZEND_MM_PAGE_SIZE

97 static size_t _real_page_size = ZEND_MM_PAGE_SIZE;
105 # define REAL_PAGE_SIZE ZEND_MM_PAGE_SIZE
297 char bytes[ZEND_MM_PAGE_SIZE];
305 char bytes[ZEND_MM_PAGE_SIZE * 8];
996 …of %zu bytes exhausted (tried to allocate %zu bytes)", heap->limit, ZEND_MM_PAGE_SIZE * pages_coun…
1014 …ry (allocated %zu) (tried to allocate %zu bytes)", heap->real_size, ZEND_MM_PAGE_SIZE * pages_coun…
1067 int pages_count = (int)ZEND_MM_SIZE_TO_NUM(size, ZEND_MM_PAGE_SIZE);
1075 size_t size = heap->size + pages_count * ZEND_MM_PAGE_SIZE;
1153 heap->size -= pages_count * ZEND_MM_PAGE_SIZE;
1242 page_num = ZEND_MM_ALIGNED_OFFSET(bin, ZEND_MM_CHUNK_SIZE) / ZEND_MM_PAGE_SIZE;
1334 page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
1343 …return (zend_mm_debug_info*)((char*)ptr + ZEND_MM_PAGE_SIZE * pages_count - ZEND_MM_ALIGNED_SIZE(s…
1403 int page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
1412 …ZEND_MM_CHECK(ZEND_MM_ALIGNED_OFFSET(page_offset, ZEND_MM_PAGE_SIZE) == 0, "zend_mm_heap corrupted…
1434 page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
1440 return ZEND_MM_LRUN_PAGES(info) * ZEND_MM_PAGE_SIZE;
1570 int page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
1630 …ZEND_MM_CHECK(ZEND_MM_ALIGNED_OFFSET(page_offset, ZEND_MM_PAGE_SIZE) == 0, "zend_mm_heap corrupted…
1631 old_size = ZEND_MM_LRUN_PAGES(info) * ZEND_MM_PAGE_SIZE;
1633 new_size = ZEND_MM_ALIGNED_SIZE_EX(size, ZEND_MM_PAGE_SIZE);
1646 int new_pages_count = (int)(new_size / ZEND_MM_PAGE_SIZE);
1647 int rest_pages_count = (int)((old_size - new_size) / ZEND_MM_PAGE_SIZE);
1650 heap->size -= rest_pages_count * ZEND_MM_PAGE_SIZE;
1665 int new_pages_count = (int)(new_size / ZEND_MM_PAGE_SIZE);
1666 int old_pages_count = (int)(old_size / ZEND_MM_PAGE_SIZE);
1955 page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
1984 page_num = (int)(page_offset / ZEND_MM_PAGE_SIZE);
2041 return collected * ZEND_MM_PAGE_SIZE;
2054 …zend_mm_debug_info *dbg = (zend_mm_debug_info*)((char*)p + ZEND_MM_PAGE_SIZE * i + bin_data_size[b…
2089 …zend_mm_debug_info *dbg = (zend_mm_debug_info*)((char*)p + ZEND_MM_PAGE_SIZE * (i + pages_count) -…
2170 …zend_mm_debug_info *dbg = (zend_mm_debug_info*)((char*)p + ZEND_MM_PAGE_SIZE * i + bin_data_size[b…
2175 … leak.addr = (zend_mm_debug_info*)((char*)p + ZEND_MM_PAGE_SIZE * i + bin_data_size[bin_num] * j);
2202 …zend_mm_debug_info *dbg = (zend_mm_debug_info*)((char*)p + ZEND_MM_PAGE_SIZE * (i + pages_count) -…
2204 leak.addr = (void*)((char*)p + ZEND_MM_PAGE_SIZE * i);
2529 int page_num = page_offset / ZEND_MM_PAGE_SIZE; \
2556 int page_num = page_offset / ZEND_MM_PAGE_SIZE;
2557 uint32_t pages_count = ZEND_MM_ALIGNED_SIZE_EX(size, ZEND_MM_PAGE_SIZE) / ZEND_MM_PAGE_SIZE;
2559 …ZEND_MM_CHECK(chunk->heap == AG(mm_heap) && ZEND_MM_ALIGNED_OFFSET(page_offset, ZEND_MM_PAGE_SIZE)…