Lines Matching defs:contig

1209 			 * return when contig pages no longer needed
1223 /* cannot find contig pages in specified range */
1244 * return when contig pages no longer needed
2105 int contig_pfn_cnt; /* no of pfns in the contig pfn list */
2106 int contig_pfn_max; /* capacity of the contig pfn list */
2107 int next_alloc_pfn; /* next position in list to start a contig search */
2111 int create_contig_pending; /* nonzero means taskq creating contig list */
2112 pfn_t *contig_pfn_list = NULL; /* list of contig pfns in ascending mfn order */
2147 * See if next pfn is for a contig mfn
2192 * If we could not create the contig list (because
2218 if (contig_pfn_cnt < 2) { /* no contig pfns */
2242 * Toss the current contig pfnlist. Someone is about to do a massive
2315 if (contig_pfn_cnt < 2) { /* no contig pfns */
2460 long contig_searches; /* count of times contig pages requested */
2461 long contig_search_restarts; /* count of contig ranges tried */
2462 long contig_search_failed; /* count of contig alloc failures */
2494 * create the contig pfn list if not already done
2517 * Check if mfn is first one or contig to previous one and
2558 * Failed to find enough contig pages.
2571 page_io_pool_alloc(ddi_dma_attr_t *mattr, int contig, pgcnt_t minctg)
2581 contig = 0;
2644 if (contig &&
2705 int order, extra, extpages, i, contig, nbits, extents;
2709 contig = flags & PG_PHYSCONTIG;
2711 contig = 0;
2715 * Hypervisor will allocate extents, if we want contig
2718 if (contig) {
2773 extents = contig ? 1 : minctg;
2843 int contig, anyaddr, npages, getone = 0;
2861 contig = flags & PG_PHYSCONTIG;
2867 * Clear the contig flag if only one page is needed.
2871 contig = 0;
2878 if (!contig && anyaddr && !pfnalign) {
2894 * We could want contig pages with no address range limits.
2896 if (anyaddr && contig) {
2898 * Look for free contig pages to satisfy the request.
2907 mcpl = page_io_pool_alloc(mattr, contig, minctg);
2975 int npages = 0, contig, anyaddr, pages_req;
2992 * Clear the contig flag if only one page is needed or the scatter
2996 contig = (flags & PG_PHYSCONTIG);
2999 contig = 0;
3007 if ((!contig && anyaddr) || is_domu) {
3018 if (contig) {
3033 * not have to be contiguous pages but we will use the contig
3532 * Grab the rest of the non-contig pages below from anylist.