Scroll to navigation

FIND_GET_ENTRIES_TAG(9) Memory Management in Linux FIND_GET_ENTRIES_TAG(9)

NAME

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

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

DESCRIPTION

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

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11