---
name: "find_get_pages_tag"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/find_get_pages_tag"
---

# find\_get\_pages\_tag(9)

find and return pages that match tag

## 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

*mapping*

the address\_space to search

*index*

the starting page index

*tag*

the tag index

*nr\_pages*

the maximum number of pages

*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.

## COPYRIGHT
