Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching defs:oldp

3872 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) {
3873 size_t oldsize = chunksize(oldp);
3880 return oldp;
3882 size_t offset = oldp->prev_foot;
3885 char* cp = (char*)CALL_MREMAP((char*)oldp - offset,
5222 mchunkptr oldp = mem2chunk(oldmem);
5226 mstate m = get_mstate_for(oldp);
5233 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 1);
5242 size_t oc = chunksize(oldp) - overhead_for(oldp);
5260 mchunkptr oldp = mem2chunk(oldmem);
5264 mstate m = get_mstate_for(oldp);
5271 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 0);
5273 if (newp == oldp) {
5774 mchunkptr oldp = mem2chunk(oldmem);
5778 mstate m = get_mstate_for(oldp);
5785 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 1);
5794 size_t oc = chunksize(oldp) - overhead_for(oldp);
5812 mchunkptr oldp = mem2chunk(oldmem);
5816 mstate m = get_mstate_for(oldp);
5824 mchunkptr newp = try_realloc_chunk(m, oldp, nb, 0);
5826 if (newp == oldp) {