Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemalign.c105 if (nbytes < MINSIZE) in memalign()
106 nbytes = MINSIZE; in memalign()
108 while (align < MINSIZE + WORDSIZE) in memalign()
110 reqsize = nbytes + align + (MINSIZE + WORDSIZE); in memalign()
150 if (frag_size < MINSIZE + WORDSIZE) { in memalign()
172 if (frag_size >= MINSIZE + WORDSIZE) { in memalign()
H A Dmalloc.c116 static TREE *List[MINSIZE/WORDSIZE-1]; /* lists of small blocks */
137 ASSERT((size + WORDSIZE) * NPS >= MINSIZE); in _smalloc()
208 } else if (size >= MINSIZE && n > size) { in _malloc_unlocked()
226 if (size < MINSIZE) in _malloc_unlocked()
278 if ((n = (SIZE(sp) - size)) >= MINSIZE + WORDSIZE) { in _malloc_unlocked()
352 if (size < MINSIZE || SIZE(tp) < MINSIZE) { in realloc()
368 ASSERT(SIZE(np) >= MINSIZE); in realloc()
395 if ((n = (SIZE(tp) - size)) >= MINSIZE + WORDSIZE) { in realloc()
441 if (SIZE(tp) < MINSIZE) { in realloc()
446 } else if (size < MINSIZE) { /* case 2. */ in realloc()
[all …]
H A Dmallint.h61 #define MINSIZE (sizeof (TREE) - sizeof (WORD)) macro
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c55 #define MINSIZE 64 /* (1 << MINSHIFT) */ macro
123 size = (size_t)MINSIZE << bucketnum; in initial_allocation()
158 if (size-- <= MINSIZE) in getbucketnum()
197 size = (size_t)MINSIZE << bucketnum; in lmalloc()
278 size = (size_t)MINSIZE << bucketnum; in lfree()
350 size = (size_t)MINSIZE << getbucketnum(size + sizeof (*ptr)); in libc_malloc()
363 size = (size_t)MINSIZE << getbucketnum(size + sizeof (*ptr)); in libc_realloc()
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c104 static TREE *List[MINSIZE/WORDSIZE-1];
105 static TREE *Last[MINSIZE/WORDSIZE-1];
127 ASSERT((size + WORDSIZE) * NPS >= MINSIZE); in smalloc()
189 if (size < MINSIZE) in malloc_unlocked()
262 if ((n = (SIZE(sp) - size)) >= MINSIZE + WORDSIZE) { in malloc_unlocked()
333 if (size < MINSIZE || SIZE(tp) < MINSIZE) { in realloc()
352 ASSERT(SIZE(np) >= MINSIZE); in realloc()
382 if ((n = (SIZE(tp) - size)) >= MINSIZE + WORDSIZE) { in realloc()
429 if (SIZE(tp) < MINSIZE) { in realloc()
435 } else if (size < MINSIZE) /* case 2. */ { in realloc()
[all …]
H A Dmallint.h60 #define MINSIZE (sizeof (TREE) - sizeof (WORD)) macro
/illumos-gate/usr/src/cmd/mandoc/
H A Dcompat_ohash.c37 #define MINSIZE (1UL << 4) macro
89 if (ns < MINSIZE) in ohash_resize()
90 ns = MINSIZE; in ohash_resize()
191 if (h->size < MINSIZE) in ohash_init()
192 h->size = MINSIZE; in ohash_init()
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c168 #define MINSIZE 9 /* for requestsize, tunable */ macro
177 static long requestsize = MINSIZE; /* 9 pages per cache; tunable; 9 is min */
769 if (value >= MINSIZE && value <= MAXSIZE) in mallocctl()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c120 #ifndef MINSIZE
121 #define MINSIZE 250 macro
5384 if (kval < (blkcnt_t)MINSIZE) { in kcheck()
5387 ").\n"), (ulong_t)MINSIZE, kval); in kcheck()