Home
last modified time | relevance | path

Searched refs:C_INUSE (Results 1 – 10 of 10) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/malloc/
Dmalloc.c153 w->psize = 0 | C_INUSE; in expand_heap()
159 w->psize = n | C_INUSE; in expand_heap()
160 w->csize = 0 | C_INUSE; in expand_heap()
165 w->csize = n | C_INUSE; in expand_heap()
194 c->csize |= C_INUSE; in unbin()
195 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
202 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
219 while (!((k=c->psize) & C_INUSE)) { in alloc_rev()
259 split->psize = n | C_INUSE; in pretrim()
262 self->csize = n | C_INUSE; in pretrim()
[all …]
/third_party/musl/src/malloc/
Dmalloc.c153 w->psize = 0 | C_INUSE; in expand_heap()
159 w->psize = n | C_INUSE; in expand_heap()
160 w->csize = 0 | C_INUSE; in expand_heap()
165 w->csize = n | C_INUSE; in expand_heap()
194 c->csize |= C_INUSE; in unbin()
195 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
202 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
219 while (!((k=c->psize) & C_INUSE)) { in alloc_rev()
259 split->psize = n | C_INUSE; in pretrim()
262 self->csize = n | C_INUSE; in pretrim()
[all …]
Dmemalign.c47 n->psize = c->csize = C_INUSE | (new-mem); in __memalign()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dmalloc.c156 w->psize = 0 | C_INUSE; in expand_heap()
163 w->psize = n | C_INUSE; in expand_heap()
164 w->csize = 0 | C_INUSE; in expand_heap()
169 w->csize = n | C_INUSE; in expand_heap()
200 c->csize |= C_INUSE; in unbin()
201 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
208 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
225 while (!((k=c->psize) & C_INUSE)) { in alloc_rev()
265 split->psize = n | C_INUSE; in pretrim()
269 self->csize = n | C_INUSE; in pretrim()
[all …]
Dmemalign.c75 n->psize = c->csize = C_INUSE | (new-mem); in __memalign()
/third_party/musl/porting/linux/user/src/malloc/
Dmalloc.c449 w->psize = 0 | C_INUSE; in expand_heap()
455 w->psize = n | C_INUSE; in expand_heap()
456 w->csize = 0 | C_INUSE; in expand_heap()
461 w->csize = n | C_INUSE; in expand_heap()
520 c->csize |= C_INUSE; in unbin()
521 NEXT_CHUNK(c)->psize |= C_INUSE; in unbin()
528 while (!((k=c->csize) & C_INUSE)) { in alloc_fwd()
545 while (!((k=c->psize) & C_INUSE)) { in alloc_rev()
592 split->psize = n | C_INUSE; in pretrim()
595 self->csize = n | C_INUSE; in pretrim()
[all …]
Dmemalign.c67 n->psize = c->csize = C_INUSE | (new-mem); in __memalign()
/third_party/musl/src/internal/
Dmalloc_impl.h38 #define C_INUSE ((size_t)1) macro
40 #define IS_MMAPPED(c) !((c)->csize & (C_INUSE))
/third_party/musl/porting/liteos_a/user_debug/src/internal/
Dmalloc_impl.h83 #define C_INUSE ((size_t)1) macro
85 #define IS_MMAPPED(c) !((c)->csize & (C_INUSE))
/third_party/musl/porting/linux/user/src/internal/
Dmalloc_impl.h130 #define C_INUSE ((size_t)1) macro
132 #define IS_MMAPPED(c) !((c)->csize & (C_INUSE))