Name

find_get_pages_tag — find and return pages that match tag

Synopsis

unsigned find_get_pages_tag (struct address_space * mapping,
 pgoff_t * index,
 int tag,
 unsigned int nr_pages,
 struct page ** pages);
 

Arguments

struct address_space * mapping

the address_space to search

pgoff_t * index

the starting page index

int tag

the tag index

unsigned int nr_pages

the maximum number of pages

struct page ** pages

where the resulting pages are placed

Description

Like find_get_pages, except we only return pages which are tagged with tag. We update index to index the next page for the traversal.