Lines Matching refs:extpages
2705 int order, extra, extpages, i, contig, nbits, extents;
2722 extpages = 1 << order;
2725 extpages = minctg;
2727 if (extpages > minctg) {
2728 extra = extpages - minctg;
2733 pplist = kmem_alloc(extpages * sizeof (page_t *), kflags);
2736 mfnlist = kmem_alloc(extpages * sizeof (mfn_t), kflags);
2743 if (extpages > minctg) {
2768 for (i = 0; i < extpages; i++) {
2779 extpages, mattr->dma_attr_addr_hi);
2783 kmem_free(pplist, extpages * sizeof (page_t *));
2784 kmem_free(mfnlist, extpages * sizeof (mfn_t));
2788 if (extpages > minctg) {
2811 kmem_free(pplist, extpages * sizeof (page_t *));
2813 kmem_free(mfnlist, extpages * sizeof (mfn_t));
2814 page_unresv(extpages - minctg);