Searched refs:kpm_npages (Results 1 – 2 of 2) sorted by relevance
195 pgcnt_t kpm_npages; /* How many kpm pages are managed */ variable747 kpm_npages = ptokpmpr(physinstalled); in calc_kpmpp_sz()748 return (kpm_npages * sizeof (kpm_page_t)); in calc_kpmpp_sz()750 kpm_npages = npages; in calc_kpmpp_sz()751 return (kpm_npages * sizeof (kpm_spage_t)); in calc_kpmpp_sz()1258 kpm_pp_sz = kpm_npages * sizeof (kpm_page_t); in startup_memlist()1260 kpm_npages = ptokpmpr(npages); in startup_memlist()1261 kpm_pp_sz = kpm_npages * sizeof (kpm_spage_t); in startup_memlist()1339 if (kpm_enable && (ndata_alloc_kpm(&ndata, kpm_npages) != 0)) in startup_memlist()2736 kpm_ppleft = kpm_npages; in kphysm_init()
924 ndata_alloc_kpm(struct memlist *ndata, pgcnt_t kpm_npages) in ndata_alloc_kpm() argument936 kpmp_table_sz = 1 << highbit(kpm_npages / 16); in ndata_alloc_kpm()954 kpmp_stable_sz = 1 << highbit(kpm_npages / 8192); in ndata_alloc_kpm()