Home
last modified time | relevance | path

Searched refs:NEXT_CHUNK (Results 1 – 12 of 12) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/malloc/
Dmalloc.c110 for (c = (void *)mal.heap; CHUNK_SIZE(c); c = NEXT_CHUNK(c))
114 NEXT_CHUNK(c)->psize & 15);
195 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
252 next = NEXT_CHUNK(self); in pretrim()
273 next = NEXT_CHUNK(self); in trim()
311 NEXT_CHUNK(x)->psize = c->csize = in malloc()
403 next = NEXT_CHUNK(self); in realloc()
413 next = NEXT_CHUNK(next); in realloc()
442 struct chunk *next = NEXT_CHUNK(self); in __bin_chunk()
478 next = NEXT_CHUNK(next); in __bin_chunk()
/third_party/musl/src/malloc/
Dmalloc.c110 for (c = (void *)mal.heap; CHUNK_SIZE(c); c = NEXT_CHUNK(c))
114 NEXT_CHUNK(c)->psize & 15);
195 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
252 next = NEXT_CHUNK(self); in pretrim()
273 next = NEXT_CHUNK(self); in trim()
314 NEXT_CHUNK(x)->psize = c->csize = in malloc()
406 next = NEXT_CHUNK(self); in realloc()
416 next = NEXT_CHUNK(next); in realloc()
445 struct chunk *next = NEXT_CHUNK(self); in __bin_chunk()
481 next = NEXT_CHUNK(next); in __bin_chunk()
Dmemalign.c40 struct chunk *t = NEXT_CHUNK(c); in __memalign()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmalloc.c112 for (c = (void *)mal.heap; CHUNK_SIZE(c); c = NEXT_CHUNK(c))
116 NEXT_CHUNK(c)->psize & 15);
201 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
258 next = NEXT_CHUNK(self); in pretrim()
282 next = NEXT_CHUNK(self); in trim()
339 NEXT_CHUNK(x)->psize = c->csize = in malloc()
341 calculate_checksum(c, NEXT_CHUNK(x)); in malloc()
446 next = NEXT_CHUNK(self); in realloc()
456 next = NEXT_CHUNK(next); in realloc()
498 struct chunk *next = NEXT_CHUNK(self); in __bin_chunk()
[all …]
Dmemalign.c67 struct chunk *t = NEXT_CHUNK(c); in __memalign()
Dmemory_check.c440 next = NEXT_CHUNK(cur); in check_heap_integrity()
463 next = NEXT_CHUNK(cur); in check_chunk_integrity()
/third_party/musl/porting/linux/user/src/malloc/
Dmalloc.c399 for (c = (void *)mal.heap; CHUNK_SIZE(c); c = NEXT_CHUNK(c))
403 NEXT_CHUNK(c)->psize & 15);
521 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
578 next = NEXT_CHUNK(self); in pretrim()
613 next = NEXT_CHUNK(self); in trim()
687 NEXT_CHUNK(x)->psize = c->csize = in internal_malloc()
866 next = NEXT_CHUNK(self); in __libc_realloc()
876 next = NEXT_CHUNK(next); in __libc_realloc()
981 next = NEXT_CHUNK(self); in internal_realloc()
991 next = NEXT_CHUNK(next); in internal_realloc()
[all …]
Dmemalign.c60 struct chunk *t = NEXT_CHUNK(c); in __memalign()
/third_party/musl/src/internal/
Dmalloc_impl.h33 #define NEXT_CHUNK(c) ((struct chunk *)((char *)(c) + CHUNK_SIZE(c))) macro
/third_party/alsa-lib/src/topology/
Dsave.c24 #define NEXT_CHUNK(val, shift) ((((val) >> (shift)) + 1) << (shift)) macro
67 t = NEXT_CHUNK(n + 1, PRINT_ALLOC_SHIFT); in tplg_save_printf()
86 s = realloc(dst->dst, NEXT_CHUNK(t, SAVE_ALLOC_SHIFT)); in tplg_save_printf()
/third_party/musl/porting/liteos_a/user_debug/src/internal/
Dmalloc_impl.h78 #define NEXT_CHUNK(c) ((struct chunk *)((char *)(c) + CHUNK_SIZE(c))) macro
/third_party/musl/porting/linux/user/src/internal/
Dmalloc_impl.h106 #define NEXT_CHUNK(c) ((struct chunk *)((char *)(c) + CHUNK_SIZE(c))) macro