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.c103 if (nbytes < MINSIZE) in memalign()
104 nbytes = MINSIZE; in memalign()
106 while (align < MINSIZE + WORDSIZE) in memalign()
108 reqsize = nbytes + align + (MINSIZE + WORDSIZE); in memalign()
148 if (frag_size < MINSIZE + WORDSIZE) { in memalign()
170 if (frag_size >= MINSIZE + WORDSIZE) { in memalign()
H A Dmalloc.c137 ASSERT((size + WORDSIZE) * NPS >= MINSIZE); in _smalloc()
208 } else if (size >= MINSIZE && n > size) { in _malloc_unlocked()
226 if (size < MINSIZE) in _malloc_unlocked()
352 if (size < MINSIZE || SIZE(tp) < MINSIZE) { in realloc()
368 ASSERT(SIZE(np) >= MINSIZE); in realloc()
441 if (SIZE(tp) < MINSIZE) { in realloc()
446 } else if (size < MINSIZE) { /* case 2. */ in realloc()
447 size = MINSIZE; in realloc()
450 } else if (size < MINSIZE) { /* case 3. */ in realloc()
451 size = MINSIZE; 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];
189 if (size < MINSIZE) in malloc_unlocked()
333 if (size < MINSIZE || SIZE(tp) < MINSIZE) { in realloc()
352 ASSERT(SIZE(np) >= MINSIZE); in realloc()
429 if (SIZE(tp) < MINSIZE) { in realloc()
436 size = MINSIZE; in realloc()
440 size = MINSIZE; in realloc()
499 if (SIZE(tp) < MINSIZE) { in realfree()
1153 if (nbytes < MINSIZE) in memalign()
[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()