Lines Matching refs:expected_pages
49 unsigned expected_pages;
62 static void _pcol_init(struct page_collect *pcol, unsigned expected_pages,
69 pcol->expected_pages = expected_pages;
82 pcol->expected_pages -= min(pcol->nr_pages, pcol->expected_pages);
94 if (!pcol->expected_pages)
95 pcol->expected_pages = MAX_PAGES_KMALLOC;
100 unsigned pages = min_t(unsigned, pcol->expected_pages,
123 EXOFS_ERR("Failed to kmalloc expected_pages=%u\n",
124 pcol->expected_pages);
654 long start, end, expected_pages;
663 expected_pages = end - start + 1;
665 expected_pages = mapping->nrpages;
667 if (expected_pages < 32L)
668 expected_pages = 32L;
671 "nrpages=%lu start=0x%lx end=0x%lx expected_pages=%ld\n",
673 mapping->nrpages, start, end, expected_pages);
675 _pcol_init(&pcol, expected_pages, mapping->host);