tbase 3641 oshmem/mca/memheap/ptmalloc/malloc.c static void add_segment(mstate m, char* tbase, size_t tsize, flag_t mmapped) { tbase 3658 oshmem/mca/memheap/ptmalloc/malloc.c init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); tbase 3664 oshmem/mca/memheap/ptmalloc/malloc.c m->seg.base = tbase; tbase 3697 oshmem/mca/memheap/ptmalloc/malloc.c char* tbase = CMFAIL; tbase 3743 oshmem/mca/memheap/ptmalloc/malloc.c tbase = base; tbase 3754 oshmem/mca/memheap/ptmalloc/malloc.c tbase = br; tbase 3759 oshmem/mca/memheap/ptmalloc/malloc.c if (tbase == CMFAIL) { /* Cope with partial failure */ tbase 3776 oshmem/mca/memheap/ptmalloc/malloc.c tbase = br; tbase 3786 oshmem/mca/memheap/ptmalloc/malloc.c if (DL_HAVE_MMAP && tbase == CMFAIL) { /* Try MMAP */ tbase 3792 oshmem/mca/memheap/ptmalloc/malloc.c tbase = mp; tbase 3799 oshmem/mca/memheap/ptmalloc/malloc.c if (HAVE_MORECORE && tbase == CMFAIL) { /* Try noncontiguous MORECORE */ tbase 3811 oshmem/mca/memheap/ptmalloc/malloc.c tbase = br; tbase 3818 oshmem/mca/memheap/ptmalloc/malloc.c if (tbase != CMFAIL) { tbase 3824 oshmem/mca/memheap/ptmalloc/malloc.c m->seg.base = m->least_addr = tbase; tbase 3832 oshmem/mca/memheap/ptmalloc/malloc.c init_top(m, (mchunkptr)tbase, tsize - TOP_FOOT_SIZE); tbase 3838 oshmem/mca/memheap/ptmalloc/malloc.c init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) -TOP_FOOT_SIZE); tbase 3846 oshmem/mca/memheap/ptmalloc/malloc.c while (sp != 0 && tbase != sp->base + sp->size) tbase 3856 oshmem/mca/memheap/ptmalloc/malloc.c if (tbase < m->least_addr) tbase 3857 oshmem/mca/memheap/ptmalloc/malloc.c m->least_addr = tbase; tbase 3859 oshmem/mca/memheap/ptmalloc/malloc.c while (sp != 0 && sp->base != tbase + tsize) tbase 3865 oshmem/mca/memheap/ptmalloc/malloc.c sp->base = tbase; tbase 3867 oshmem/mca/memheap/ptmalloc/malloc.c return prepend_alloc(m, tbase, oldbase, nb); tbase 3870 oshmem/mca/memheap/ptmalloc/malloc.c add_segment(m, tbase, tsize, mmap_flag); tbase 4772 oshmem/mca/memheap/ptmalloc/malloc.c static mstate init_user_mstate(char* tbase, size_t tsize) { tbase 4775 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr msp = align_as_chunk(tbase); tbase 4780 oshmem/mca/memheap/ptmalloc/malloc.c m->seg.base = m->least_addr = tbase; tbase 4790 oshmem/mca/memheap/ptmalloc/malloc.c init_top(m, mn, (size_t)((tbase + tsize) - (char*)mn) - TOP_FOOT_SIZE); tbase 4804 oshmem/mca/memheap/ptmalloc/malloc.c char* tbase = (char*)(CALL_MMAP(tsize)); tbase 4805 oshmem/mca/memheap/ptmalloc/malloc.c if (tbase != CMFAIL) { tbase 4806 oshmem/mca/memheap/ptmalloc/malloc.c m = init_user_mstate(tbase, tsize);