Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libmalloc/common/
H A Dmalloc.c49 static ssize_t freespace(struct holdblk *);
132 static struct holdblk **holdhead; /* pointer to array of head pointers */
333 struct holdblk *holdblk; /* head of right sized queue */ in malloc_unlocked() local
335 struct holdblk *newhold; in malloc_unlocked()
355 holdhead = (struct holdblk **) in malloc_unlocked()
356 malloc_unlocked(sizeof (struct holdblk *) * in malloc_unlocked()
374 holdblk = holdhead[nb / grain]; in malloc_unlocked()
380 if ((holdblk != HGROUND) && (holdblk->lfreeq != LGROUND)) { in malloc_unlocked()
382 lblk = holdblk->lfreeq; in malloc_unlocked()
394 if (lblk < holdblk->unused) { in malloc_unlocked()
[all …]
H A Dmallint.h81 struct holdblk *holder;
96 struct holdblk { struct
97 struct holdblk *nexthblk; /* next holding block */ argument
98 struct holdblk *prevhblk; /* previous holding block */ argument
173 #define HGROUND (struct holdblk *)0 /* ground for the holding block queue */
185 (sizeof (struct holdblk) - sizeof (struct lblk *) + blksz*numlblks)