Lines Matching refs:next_block

943 				zend_mm_block *next_block = ZEND_MM_NEXT_BLOCK(mm_block);  in zend_mm_free_cache()  local
952 if (ZEND_MM_IS_FREE_BLOCK(next_block)) { in zend_mm_free_cache()
953 size += ZEND_MM_FREE_BLOCK_SIZE(next_block); in zend_mm_free_cache()
954 zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block); in zend_mm_free_cache()
2063 zend_mm_block *next_block; in _zend_mm_free_int() local
2103 next_block = ZEND_MM_BLOCK_AT(mm_block, size); in _zend_mm_free_int()
2104 if (ZEND_MM_IS_FREE_BLOCK(next_block)) { in _zend_mm_free_int()
2105 zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block); in _zend_mm_free_int()
2106 size += ZEND_MM_FREE_BLOCK_SIZE(next_block); in _zend_mm_free_int()
2126 zend_mm_block *next_block; in _zend_mm_realloc_int() local
2154 next_block = ZEND_MM_BLOCK_AT(mm_block, orig_size); in _zend_mm_realloc_int()
2155 if (ZEND_MM_IS_FREE_BLOCK(next_block)) { in _zend_mm_realloc_int()
2156 remaining_size += ZEND_MM_FREE_BLOCK_SIZE(next_block); in _zend_mm_realloc_int()
2157 zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block); in _zend_mm_realloc_int()
2220 next_block = ZEND_MM_BLOCK_AT(mm_block, orig_size); in _zend_mm_realloc_int()
2222 if (ZEND_MM_IS_FREE_BLOCK(next_block)) { in _zend_mm_realloc_int()
2223 ZEND_MM_CHECK_COOKIE(next_block); in _zend_mm_realloc_int()
2224 ZEND_MM_CHECK_BLOCK_LINKAGE(next_block); in _zend_mm_realloc_int()
2225 if (orig_size + ZEND_MM_FREE_BLOCK_SIZE(next_block) >= true_size) { in _zend_mm_realloc_int()
2226 size_t block_size = orig_size + ZEND_MM_FREE_BLOCK_SIZE(next_block); in _zend_mm_realloc_int()
2229 zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block); in _zend_mm_realloc_int()
2258 ZEND_MM_IS_GUARD_BLOCK(ZEND_MM_BLOCK_AT(next_block, ZEND_MM_FREE_BLOCK_SIZE(next_block)))) { in _zend_mm_realloc_int()
2259 zend_mm_remove_from_free_list(heap, (zend_mm_free_block *) next_block); in _zend_mm_realloc_int()
2262 } else if (ZEND_MM_IS_FIRST_BLOCK(mm_block) && ZEND_MM_IS_GUARD_BLOCK(next_block)) { in _zend_mm_realloc_int()
2281 if (ZEND_MM_IS_FREE_BLOCK(next_block)) { in _zend_mm_realloc_int()
2282 zend_mm_add_to_free_list(heap, (zend_mm_free_block *) next_block); in _zend_mm_realloc_int()