Lines Matching defs:memlist

83 extern int ndata_alloc_mmfsa(struct memlist *ndata);
165 struct memlist *phys_install; /* Total installed physical memory */
166 struct memlist *phys_avail; /* Available (unreserved) physical memory */
167 struct memlist *virt_avail; /* Available (unmapped?) virtual memory */
168 struct memlist *nopp_list; /* pages with no backing page structs */
169 struct memlist ndata; /* memlist of nucleus allocatable memory */
249 static int ndata_alloc_memseg(struct memlist *, size_t);
250 static void memlist_new(uint64_t, uint64_t, struct memlist **);
252 struct memlist **, struct memlist **);
267 static struct memlist *memlist;
308 printmemlist(char *title, struct memlist *list)
944 static struct memlist *old_phys_avail;
955 struct memlist *cur;
1355 memlist_sz = sizeof (struct memlist) * (prom_phys_installed_len() +
1361 cmn_err(CE_PANIC, "no more nucleus memory after memlist alloc");
1363 memlist = (struct memlist *)memspace;
1365 PRM_DEBUG(memlist);
1385 virt_avail = memlist;
1386 copy_memlist(boot_virtavail, boot_virtavail_len, &memlist);
1406 phys_avail = memlist;
1407 copy_memlist(boot_physavail, boot_physavail_len, &memlist);
1422 phys_install = memlist;
1423 copy_memlist(boot_physinstalled, boot_physinstalled_len, &memlist);
1434 nopp_list = memlist;
1435 memlist_new(va_to_pa(s_text), MMU_PAGESIZE4M, &memlist);
1437 &memlist, &nopp_list);
1441 memlist_add(kmem64_pabase, kmem64_sz, &memlist, &nopp_list);
1443 if ((caddr_t)memlist > (memspace + memlist_sz))
1444 prom_panic("memlist overflow");
1722 virt_avail = memlist;
1723 copy_memlist(boot_virtavail, boot_virtavail_len, &memlist);
1736 struct memlist *cur;
1753 cur = memlist;
1754 copy_memlist(boot_physavail, boot_physavail_len, &memlist);
1762 kmem64_overmap_size, &memlist, &cur);
1771 (uint64_t)ndata_remain_sz, &memlist, &cur);
1774 * There isn't any bounds checking on the memlist area
1777 if ((caddr_t)memlist > (caddr_t)memlist_end)
1778 cmn_err(CE_PANIC, "startup: memlist size exceeded");
2148 if ((caddr_t)memlist > (caddr_t)memlist_end)
2149 panic("memlist overflow 2");
2150 memlist_free_block((caddr_t)memlist,
2151 ((caddr_t)memlist_end - (caddr_t)memlist));
2152 memlist = NULL;
2421 memlist_new(uint64_t start, uint64_t len, struct memlist **memlistp)
2423 struct memlist *new;
2439 memlist_add(uint64_t start, uint64_t len, struct memlist **memlistp,
2440 struct memlist **curmemlistp)
2442 struct memlist *new = *memlistp;
2449 ndata_alloc_memseg(struct memlist *ndata, size_t avail)
2729 struct memlist *pmem;