Lines Matching defs:base
71 guarantees not to modify any memory locations below the base of
119 base functionality but may be needed in layered extensions).
1296 create_mspace_with_base uses the memory supplied as the initial base
1302 space (if possible) but not the initial base.
1304 DLMALLOC_EXPORT mspace create_mspace_with_base(void* base, size_t capacity, int locked);
2054 necessary fields at known offsets from a given base.
2149 and still in-use chunk, or the base of its memory arena. This is
2470 char* base; /* base address */
2695 ((char*)(A) >= S->base && (char*)(A) < S->base + S->size)
2701 if (addr >= sp->base && addr < sp->base + sp->size)
2712 if ((char*)sp >= ss->base && (char*)sp < ss->base + ss->size)
3012 /* Check if address of next chunk n is higher than base chunk p */
3247 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE);
3443 mchunkptr q = align_as_chunk(s->base);
3512 mchunkptr q = align_as_chunk(s->base);
3556 mchunkptr q = align_as_chunk(s->base);
3726 3. If x is the base of a chain (i.e., has parent links) relink
3943 m->seg.base = 0;
3953 /* Allocate chunk and prepend remainder with chunk in successor base. */
3967 /* consolidate remainder with first chunk of old base */
4000 char* old_end = oldsp->base + oldsp->size;
4019 m->seg.base = tbase;
4112 char* base = (char*)CALL_MORECORE(0);
4113 if (base != CMFAIL) {
4116 if (!is_page_aligned(base))
4117 ssize += (page_align((size_t)base) - (size_t)base);
4122 (br = (char*)(CALL_MORECORE(ssize))) == base) {
4123 tbase = base;
4133 (br = (char*)(CALL_MORECORE(ssize))) == ss->base+ss->size) {
4201 m->seg.base = tbase;
4223 while (sp != 0 && tbase != sp->base + sp->size)
4236 while (sp != 0 && sp->base != tbase + tsize)
4241 char* oldbase = sp->base;
4242 sp->base = tbase;
4276 char* base = sp->base;
4281 mchunkptr p = align_as_chunk(base);
4284 if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
4294 if (CALL_MUNMAP(base, size) == 0) {
4338 if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
4339 (CALL_MUNMAP(sp->base + newsize, extra) == 0)) {
4351 if (old_br == sp->base + sp->size) {
5173 mchunkptr q = align_as_chunk(s->base);
5431 m->seg.base = m->least_addr = tbase;
5465 mspace create_mspace_with_base(void* base, size_t capacity, int locked) {
5472 m = init_user_mstate((char*)base, capacity);
5503 char* base = sp->base;
5506 (void)base; /* placate people compiling -Wunused-variable */
5509 CALL_MUNMAP(base, size) == 0)