Searched refs:memlist_sz (Results 1 – 2 of 2) sorted by relevance
239 uint64_t memlist_sz; variable1355 memlist_sz = sizeof (struct memlist) * (prom_phys_installed_len() + in startup_memlist()1357 memlist_sz *= 2; in startup_memlist()1358 memlist_sz = roundup(memlist_sz, PAGESIZE); in startup_memlist()1359 memspace = ndata_alloc(&ndata, memlist_sz, ecache_alignsize); in startup_memlist()1364 memlist_end = (char *)memspace + memlist_sz; in startup_memlist()1443 if ((caddr_t)memlist > (memspace + memlist_sz)) in startup_memlist()
935 size_t memlist_sz; in startup_memlist() local1123 memlist_sz = ROUND_UP_PAGE(2 * sizeof (struct memlist) * in startup_memlist()1125 ADD_TO_ALLOCATIONS(memlist, memlist_sz); in startup_memlist()1126 PRM_DEBUG(memlist_sz); in startup_memlist()1230 if ((caddr_t)current > (caddr_t)memlist + memlist_sz) in startup_memlist()1239 if ((caddr_t)current > (caddr_t)memlist + memlist_sz) in startup_memlist()1248 if ((caddr_t)current < (caddr_t)memlist + memlist_sz) { in startup_memlist()1250 (caddr_t)memlist + memlist_sz - (caddr_t)current); in startup_memlist()