SysTutorials

Linux Manual Pages › Section 9

find_get_entries_tag(9)

find_get_entries_tag - find and return entries that match tag

Synopsis

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

Arguments

mapping

the address_space to search

start

the starting page cache index

tag

the tag index

nr_entries

the maximum number of entries

entries

where the resulting entries are placed

indices

the cache indices corresponding to the entries in entries

Description

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

Copyright