Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libbsdmalloc/common/
H A Dmalloc.bsd43.c89 static int pagesz; /* page size */ variable
107 if (pagesz == 0) { in malloc()
108 pagesz = getpagesize(); in malloc()
110 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); in malloc()
112 n += pagesz; in malloc()
124 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); in malloc()
130 while (pagesz > amt) { in malloc()
141 if (nbytes <= (n = pagesz - sizeof (*op))) { in malloc()
146 amt = pagesz; in malloc()
185 if (sz < pagesz) { in morecore()
[all …]