Searched refs:heap_index (Results 1 – 7 of 7) sorted by relevance
44 static size_t heap_index; variable84 if (heap_index + total_size > UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_malloc()91 guard = (Guard*)(void*)(&unity_heap[heap_index]); in unity_malloc()92 heap_index += total_size; in unity_malloc()128 if (mem == unity_heap + heap_index - block_size) in release_memory()130 heap_index -= (sizeof(Guard) + block_size); in release_memory()189 if ((oldMem == unity_heap + heap_index - old_total_size) && in unity_realloc()190 …((heap_index - old_total_size + unity_size_round_up(size + sizeof(end))) <= UNITY_INTERNAL_HEAP_SI… in unity_realloc()
167 static size_t heap_index; variable196 if (heap_index + total_size > UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_malloc()202 guard = (Guard*)&unity_heap[heap_index]; in unity_malloc()203 heap_index += total_size; in unity_malloc()234 if (mem == unity_heap + heap_index - guard->size - sizeof(end)) in release_memory()236 heap_index -= (guard->size + sizeof(Guard) + sizeof(end)); in release_memory()291 if (oldMem == unity_heap + heap_index - guard->size - sizeof(end) && in unity_realloc()292 heap_index + size - guard->size <= UNITY_INTERNAL_HEAP_SIZE_BYTES) in unity_realloc()
53 unsigned heap_index; member
341 uint32_t heap_index, in pvr_srv_get_heap_details() argument351 .heap_index = heap_index, in pvr_srv_get_heap_details()
288 uint32_t heap_index; member862 uint32_t heap_index,
5416 device->allocated_memory_size[mem->heap_index] -= mem->alloc_size; in radv_free_memory()5569 uint32_t heap_index; in radv_alloc_memory() local5571 heap_index = in radv_alloc_memory()5593 device->physical_device->memory_properties.memoryHeaps[heap_index].size; in radv_alloc_memory()5596 if (device->allocated_memory_size[heap_index] + alloc_size > total_size) { in radv_alloc_memory()5601 device->allocated_memory_size[heap_index] += alloc_size; in radv_alloc_memory()5612 device->allocated_memory_size[heap_index] -= alloc_size; in radv_alloc_memory()5618 mem->heap_index = heap_index; in radv_alloc_memory()
953 uint32_t heap_index; member