Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dmallopt.c38 if (__mallinfo.smblks != 0) in mallopt()
45 __mallinfo.mxfast = value; in mallopt()
51 __mallinfo.nlblks = value; in mallopt()
58 __mallinfo.grain = roundup(value, ALIGNSIZ); in mallopt()
69 __mallinfo.mxfast = roundup(__mallinfo.mxfast, __mallinfo.grain); in mallopt()
83 mi = __mallinfo; in mallinfo()
H A Dmalloc.c76 struct mallinfo __mallinfo = { variable
523 __mallinfo.ordblks++; /* count fragments */ in malloc()
540 __mallinfo.uordbytes += retblk->size; /* bytes allocated */ in malloc()
541 __mallinfo.allocated++; /* frags allocated */ in malloc()
542 if (nbytes < __mallinfo.mxfast) in malloc()
543 __mallinfo.smblks++; /* kludge to pass the SVVS */ in malloc()
613 __mallinfo.uordbytes -= nbytes; /* bytes allocated */ in free()
614 __mallinfo.allocated--; /* frags allocated */ in free()
632 __mallinfo.ordblks--; in free()
658 __mallinfo.ordblks--; in free()
[all …]
H A Dmallint.h120 extern struct mallinfo __mallinfo;