Searched refs:next_ptr (Results 1 – 3 of 3) sorted by relevance
291 struct rt_lwp_memheap_item *next_ptr; in rt_lwp_memheap_realloc() local301 next_ptr = header_ptr->next; in rt_lwp_memheap_realloc()304 RT_ASSERT(next_ptr > header_ptr); in rt_lwp_memheap_realloc()307 if (!RT_MEMHEAP_IS_USED(next_ptr)) in rt_lwp_memheap_realloc()311 nextsize = MEMITEM_SIZE(next_ptr); in rt_lwp_memheap_realloc()312 RT_ASSERT(next_ptr > 0); in rt_lwp_memheap_realloc()333 next_ptr, in rt_lwp_memheap_realloc()334 next_ptr->next_free, in rt_lwp_memheap_realloc()335 next_ptr->prev_free)); in rt_lwp_memheap_realloc()337 next_ptr->next_free->prev_free = next_ptr->prev_free; in rt_lwp_memheap_realloc()[all …]
318 struct rt_memheap_item *next_ptr; in rt_memheap_realloc() local328 next_ptr = header_ptr->next; in rt_memheap_realloc()331 RT_ASSERT(next_ptr > header_ptr); in rt_memheap_realloc()334 if (!RT_MEMHEAP_IS_USED(next_ptr)) in rt_memheap_realloc()338 nextsize = MEMITEM_SIZE(next_ptr); in rt_memheap_realloc()339 RT_ASSERT(next_ptr > 0); in rt_memheap_realloc()360 next_ptr, in rt_memheap_realloc()361 next_ptr->next_free, in rt_memheap_realloc()362 next_ptr->prev_free)); in rt_memheap_realloc()364 next_ptr->next_free->prev_free = next_ptr->prev_free; in rt_memheap_realloc()[all …]
201 local int next_ptr = 0; variable230 if (buf == NULL || next_ptr >= MAX_PTR) return NULL; in zcalloc()231 table[next_ptr].org_ptr = buf; in zcalloc()236 table[next_ptr++].new_ptr = buf; in zcalloc()248 for (n = 0; n < next_ptr; n++) { in zcfree()252 while (++n < next_ptr) { in zcfree()255 next_ptr--; in zcfree()