Home
last modified time | relevance | path

Searched refs:heap (Results 1 – 3 of 3) sorted by relevance

/src/
A Dmemheap.c166 RT_ASSERT(heap); in rt_memheap_detach()
286 heap->available_size = heap->available_size - in rt_memheap_alloc()
289 if (heap->pool_size - heap->available_size > heap->max_used_size) in rt_memheap_alloc()
290 heap->max_used_size = heap->pool_size - heap->available_size; in rt_memheap_alloc()
295 heap->available_size = heap->available_size - free_size; in rt_memheap_alloc()
296 if (heap->pool_size - heap->available_size > heap->max_used_size) in rt_memheap_alloc()
297 heap->max_used_size = heap->pool_size - heap->available_size; in rt_memheap_alloc()
369 RT_ASSERT(heap); in rt_memheap_realloc()
435 if (heap->pool_size - heap->available_size > heap->max_used_size) in rt_memheap_realloc()
436 heap->max_used_size = heap->pool_size - heap->available_size; in rt_memheap_realloc()
[all …]
A DKconfig342 bool "Use memheap objects as heap"
347 bool "Use all of memheap objects as heap"
356 bool "Use user heap"
384 bool "Using heap in ISR"
A Dkservice.c722 void *_memheap_alloc(struct rt_memheap *heap, rt_size_t size);
724 void *_memheap_realloc(struct rt_memheap *heap, void *rmem, rt_size_t newsize);

Completed in 8 milliseconds