Lines Matching refs:PAGESIZE
195 * >PAGESIZE allocations are gotten directly from prom at bighand
228 if (size < PAGESIZE) {
230 ALIGN(littlehand, PAGESIZE) - (uintptr_t)littlehand;
240 size = roundup(size, PAGESIZE);
290 * it will try to breakup into PAGESIZE chunk allocations
314 * 1. virthirt must be PAGESIZE aligned.
315 * 2. align must not be greater than PAGESIZE
316 * 3. size request must be at least PAGESIZE
320 if (P2PHASE_TYPED(virthint, PAGESIZE, size_t) != 0 ||
321 align > PAGESIZE || size < PAGESIZE)
327 * always PAGESIZE aligned.
330 chunksz = P2ALIGN((size >> 1), PAGESIZE);
331 chunksz = MAX(chunksz, PAGESIZE);
338 PAGESIZE))) {
344 chunksz = P2ALIGN(chunksz, PAGESIZE);
345 } while (chunksz >= PAGESIZE);
347 if (chunksz < PAGESIZE)
603 prom_free((caddr_t)(uintptr_t)eadr, roundup(esize, PAGESIZE));
605 prom_free((caddr_t)(uintptr_t)dynseg, roundup(dynsize, PAGESIZE));