Home
last modified time | relevance | path

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

/nrf52832-nimble/rt-thread/components/lwp/
H A Dlwp_memheap.c291 struct rt_lwp_memheap_item *next_ptr; in rt_lwp_memheap_realloc() local
301 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 …]
/nrf52832-nimble/rt-thread/src/
H A Dmemheap.c318 struct rt_memheap_item *next_ptr; in rt_memheap_realloc() local
328 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 …]
/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/
H A Dzutil.c201 local int next_ptr = 0; variable
230 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()