Searched refs:pg_npages (Results 1 – 1 of 1) sorted by relevance
94 size_t pg_npages; /* number of pages in protv and incore */ member3589 pagev->pg_npages = MIN(total_pages, pagev_lim); in pr_pagev_create()3593 kmem_alloc(pagev->pg_npages * sizeof (uint_t), KM_SLEEP); in pr_pagev_create()3597 kmem_alloc(pagev->pg_npages * sizeof (char), KM_SLEEP); in pr_pagev_create()3608 kmem_free(pagev->pg_incore, pagev->pg_npages * sizeof (char)); in pr_pagev_destroy()3610 kmem_free(pagev->pg_protv, pagev->pg_npages * sizeof (uint_t)); in pr_pagev_destroy()3630 pnlim = pagev->pg_pnbase + pagev->pg_npages; in pr_pagev_fill()3636 len = pagev->pg_npages * PAGESIZE; in pr_pagev_fill()3701 if (++pn == pagev->pg_pnbase + pagev->pg_npages) { in pr_pagev_nextprot()3718 ASSERT(pn < (pagev->pg_pnbase + pagev->pg_npages)); in pr_pagev_nextprot()[all …]