Lines Matching defs:contig

1172 			 * return when contig pages no longer needed
1186 /* cannot find contig pages in specified range */
1207 * return when contig pages no longer needed
2068 int contig_pfn_cnt; /* no of pfns in the contig pfn list */
2069 int contig_pfn_max; /* capacity of the contig pfn list */
2070 int next_alloc_pfn; /* next position in list to start a contig search */
2074 int create_contig_pending; /* nonzero means taskq creating contig list */
2075 pfn_t *contig_pfn_list = NULL; /* list of contig pfns in ascending mfn order */
2110 * See if next pfn is for a contig mfn
2155 * If we could not create the contig list (because
2181 if (contig_pfn_cnt < 2) { /* no contig pfns */
2205 * Toss the current contig pfnlist. Someone is about to do a massive
2278 if (contig_pfn_cnt < 2) { /* no contig pfns */
2423 long contig_searches; /* count of times contig pages requested */
2424 long contig_search_restarts; /* count of contig ranges tried */
2425 long contig_search_failed; /* count of contig alloc failures */
2457 * create the contig pfn list if not already done
2480 * Check if mfn is first one or contig to previous one and
2521 * Failed to find enough contig pages.
2534 page_io_pool_alloc(ddi_dma_attr_t *mattr, int contig, pgcnt_t minctg)
2544 contig = 0;
2607 if (contig &&
2668 int order, extra, extpages, i, contig, nbits, extents;
2672 contig = flags & PG_PHYSCONTIG;
2674 contig = 0;
2678 * Hypervisor will allocate extents, if we want contig
2681 if (contig) {
2736 extents = contig ? 1 : minctg;
2806 int contig, anyaddr, npages, getone = 0;
2824 contig = flags & PG_PHYSCONTIG;
2830 * Clear the contig flag if only one page is needed.
2834 contig = 0;
2841 if (!contig && anyaddr && !pfnalign) {
2857 * We could want contig pages with no address range limits.
2859 if (anyaddr && contig) {
2861 * Look for free contig pages to satisfy the request.
2870 mcpl = page_io_pool_alloc(mattr, contig, minctg);
2938 int npages = 0, contig, anyaddr, pages_req;
2955 * Clear the contig flag if only one page is needed or the scatter
2959 contig = (flags & PG_PHYSCONTIG);
2962 contig = 0;
2970 if ((!contig && anyaddr) || is_domu) {
2981 if (contig) {
2996 * not have to be contiguous pages but we will use the contig
3495 * Grab the rest of the non-contig pages below from anylist.