Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/libmapmalloc/common/
H A Dtextmem.c133 size_t totpage = align(totsize, pagesize); in malloc_unlocked() local
135 if ((page = (struct page *)mmap(0, totpage, in malloc_unlocked()
142 page->size = totpage; in malloc_unlocked()
146 block->size = totpage - HDR_PAGE; in malloc_unlocked()
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Dmalloc.c181 size_t totpage = S_ROUND(totsize, syspagsz); in malloc() local
183 if ((page = dz_map(0, 0, totpage, in malloc()
190 page->size = totpage; in malloc()
194 block->size = totpage - HDR_PAGE; in malloc()