- unsigned find_get_pages_contig(struct address_space * mapping, pgoff_t index, unsigned int nr_pages, struct page ** pages);
- The address_space to search
- The starting page index
- The maximum number of pages
- Where the resulting pages are placed
find_get_pages_contig works exactly like find_get_pages, except that the returned number of pages are guaranteed to be contiguous.
find_get_pages_contig returns the number of pages which were found.