find_get_entries_tag — find and return entries that match tag


unsigned find_get_entries_tag (struct address_space * mapping,
 pgoff_t start,
 int tag,
 unsigned int nr_entries,
 struct page ** entries,
 pgoff_t * indices);


struct address_space * mapping

the address_space to search

pgoff_t start

the starting page cache index

int tag

the tag index

unsigned int nr_entries

the maximum number of entries

struct page ** entries

where the resulting entries are placed

pgoff_t * indices

the cache indices corresponding to the entries in entries


Like find_get_entries, except we only return entries which are tagged with tag.