Searched refs:lpages (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pmem.c | 286 pgcnt_t lpages = 0; in devmap_pmem_alloc() local 344 if (lpp_create(&lpp, i, &lpages, &plp, pcp->dp_vnp, &pmem_off, in devmap_pmem_alloc() 347 ASSERT(lpages == 0 ? lpp == NULL : 1); in devmap_pmem_alloc() 354 if (lpages >= rpages) { in devmap_pmem_alloc() 355 lpp_break(&lpp, lpages, lpages - rpages, plp); in devmap_pmem_alloc() 360 i = rpages - lpages; in devmap_pmem_alloc() 392 lpp_free(lpp, lpages / pmem_pgcnt, &plp); in devmap_pmem_alloc() 750 lpp_create(page_t **lppp, pgcnt_t n, pgcnt_t *lpages, pmem_lpg_t **plpp, in lpp_create() argument 757 for (i = 0, *lpages = 0; i < n; i++) { in lpp_create() 765 *lpages += pmem_pgcnt; in lpp_create()
|