Lines Matching full:free
60 /* initialize the free list header */ in rt_lwp_memheap_init()
69 /* set the free list to free list header */ in rt_lwp_memheap_init()
88 /* place the big memory block to free list */ in rt_lwp_memheap_init()
103 /* not in free list */ in rt_lwp_memheap_init()
110 ("memory heap: start addr 0x%08x, size %d, free list header 0x%08x\n", in rt_lwp_memheap_init()
134 /* search on free list */ in rt_lwp_memheap_alloc()
146 /* get the first free memory block */ in rt_lwp_memheap_alloc()
154 /* move to next free memory block */ in rt_lwp_memheap_alloc()
192 /* remove header ptr from free list */ in rt_lwp_memheap_alloc()
198 /* insert new_ptr to free list */ in rt_lwp_memheap_alloc()
216 /* decrement the entire free size from the available bytes count. */ in rt_lwp_memheap_alloc()
221 /* remove header_ptr from free list */ in rt_lwp_memheap_alloc()
306 /* check whether the following free space is enough to expand */ in rt_lwp_memheap_realloc()
315 * the next free node without alloc/memcpy, |*| is the control in rt_lwp_memheap_realloc()
318 * oldsize free node in rt_lwp_memheap_realloc()
325 /* decrement the entire free size from the available bytes count. */ in rt_lwp_memheap_realloc()
330 /* remove next_ptr from free list */ in rt_lwp_memheap_realloc()
346 ("new free block: block[0x%08x] nextm[0x%08x] prevm[0x%08x]", in rt_lwp_memheap_realloc()
362 /* insert next_ptr to free list */ in rt_lwp_memheap_realloc()
443 /* remove free ptr from free list */ in rt_lwp_memheap_realloc()
448 /* insert the split block to free list */ in rt_lwp_memheap_realloc()
453 RT_DEBUG_LOG(RT_DEBUG_MEMHEAP, ("new free ptr: next_free 0x%08x, prev_free 0x%08x\n", in rt_lwp_memheap_realloc()
483 RT_DEBUG_LOG(RT_DEBUG_MEMHEAP, ("free memory: memory[0x%08x], block[0x%08x]\n", in rt_lwp_memheap_free()
524 /* don't insert header to free list */ in rt_lwp_memheap_free()
544 /* remove new ptr from free list */ in rt_lwp_memheap_free()
551 /* no left merge, insert to free list */ in rt_lwp_memheap_free()
558 ("insert to free list: next_free 0x%08x, prev_free 0x%08x\n", in rt_lwp_memheap_free()