Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libbsdmalloc/common/
H A Dmalloc.bsd43.c90 static int pagesz; /* page size */ variable
108 if (pagesz == 0) { in malloc()
109 pagesz = getpagesize(); in malloc()
111 n = pagesz - sizeof (*op) - ((uintptr_t)op & (pagesz - 1)); in malloc()
113 n += pagesz; in malloc()
125 sbrk_adjust = (uintptr_t)(op + 1) & (pagesz - 1); in malloc()
131 while (pagesz > amt) { in malloc()
142 if (nbytes <= (n = pagesz - sizeof (*op))) { in malloc()
147 amt = pagesz; in malloc()
186 if (sz < pagesz) { in morecore()
[all …]
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_page.c187 size_t pagesz; in cmd_page_restore() local
191 if ((pagesz = fmd_buf_size(hdl, NULL, ptr->ptr_name)) == 0) { in cmd_page_restore()
203 } else if (pagesz > CMD_PAGE_MAXSIZE || in cmd_page_restore()
204 pagesz < CMD_PAGE_MINSIZE) { in cmd_page_restore()
207 fmd_case_uuid(hdl, cp), pagesz, in cmd_page_restore()
212 pagesz)) == NULL) { in cmd_page_restore()
224 pagesz); in cmd_page_restore()
233 page = page_v0tov1(hdl, (cmd_page_0_t *)page, pagesz); in cmd_page_restore()
/titanic_41/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_page.c183 size_t pagesz; in gmem_page_restore() local
187 if ((pagesz = fmd_buf_size(hdl, NULL, ptr->ptr_name)) == 0) { in gmem_page_restore()
199 } else if (pagesz > CMD_PAGE_MAXSIZE || in gmem_page_restore()
200 pagesz < CMD_PAGE_MINSIZE) { in gmem_page_restore()
203 fmd_case_uuid(hdl, cp), pagesz, in gmem_page_restore()
208 pagesz)) == NULL) { in gmem_page_restore()
219 pagesz); in gmem_page_restore()