Home | History | Annotate | Download | only in src

Lines Matching defs:base

72        guarantees not to modify any memory locations below the base of
1024 create_mspace_with_base uses the memory supplied as the initial base
1030 space (if possible) but not the initial base.
1032 mspace create_mspace_with_base(void* base, size_t capacity, int locked);
1467 necessary fields at known offsets from a given base.
1561 and still in-use chunk, or the base of its memory arena. This is
1655 IS_MMAPPED_BIT set, otherwise holding the offset of the base of the
1656 mmapped region to the base of the chunk.
1879 char* base; /* base address */
1902 mmap_exec_offset((S)->base, (S)->size)), \
1903 (mmap_exec_offset((S)->base + (S)->exec_offset, (S)->size) != \
1905 (mmap_exec_offset((S)->base, (S)->size) = 0), (v)))
1908 base changes, we don't have to modify this. On architectures
2095 ((char*)(A) >= S->base && (char*)(A) < S->base + S->size)
2101 if (addr >= sp->base && addr < sp->base + sp->size)
2112 if ((char*)sp >= ss->base && (char*)sp < ss->base + ss->size)
2370 /* Check if address of next chunk n is higher than base chunk p */
2568 assert(sz == ((sp->base + sp->size) - (char*)p) - TOP_FOOT_SIZE);
2764 mchunkptr q = align_as_chunk(s->base);
2831 mchunkptr q = align_as_chunk(s->base);
2873 mchunkptr q = align_as_chunk(s->base);
3037 3. If x is the base of a chain (i.e., has parent links) relink
3250 m->seg.base = 0;
3260 /* Allocate chunk and prepend remainder with chunk in successor base. */
3274 /* consolidate remainder with first chunk of old base */
3308 char* old_end = oldsp->base + oldsp->size;
3327 m->seg.base = tbase;
3397 char* base = (char*)CALL_MORECORE(0);
3398 if (base != CMFAIL) {
3401 if (!is_page_aligned(base))
3402 asize += (page_align((size_t)base) - (size_t)base);
3405 (br = (char*)(CALL_MORECORE(asize))) == base) {
3406 tbase = base;
3416 (br = (char*)(CALL_MORECORE(asize))) == ss->base+ss->size) {
3487 m->seg.base = m->least_addr = tbase;
3504 while (sp != 0 && tbase != sp->base + sp->size)
3518 while (sp != 0 && sp->base != tbase + tsize)
3524 char* oldbase = sp->base;
3525 sp->base = tbase;
3558 char* base = sp->base;
3562 mchunkptr p = align_as_chunk(base);
3565 if (!cinuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
3575 if (CALL_MUNMAP(base, size) == 0) {
3612 if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
3613 (CALL_MUNMAP(sp->base + newsize, extra) == 0)) {
3625 if (old_br == sp->base + sp->size) {
4414 m->seg.base = m->least_addr = tbase;
4445 mspace create_mspace_with_base(void* base, size_t capacity, int locked) {
4452 m = init_user_mstate((char*)base, capacity);
4465 char* base = sp->base;
4470 CALL_MUNMAP(base, size) == 0)