Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libmalloc/common/
H A Dmalloc.c742 size_t cpysize; /* amount to copy */ in realloc_unlocked() local
769 cpysize = ((struct holdblk *) in realloc_unlocked()
771 cpysize = (size > cpysize) ? cpysize : size; in realloc_unlocked()
772 (void) memcpy(newptr, ptr, cpysize); in realloc_unlocked()
804 cpysize = (char *)next - (char *)blk; in realloc_unlocked()
805 if (cpysize >= trusize) { in realloc_unlocked()
809 if (cpysize - trusize >= MINBLKSZ) { in realloc_unlocked()
827 cpysize = (size > cpysize) ? cpysize : size; in realloc_unlocked()
831 (void) memcpy(newptr, ptr, cpysize); in realloc_unlocked()