---
name: "find_get_pages_contig"
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_contig"
---

# find\_get\_pages\_contig(9)

gang contiguous pagecache lookup

## NAME

find\_get\_pages\_contig - gang contiguous pagecache lookup

## SYNOPSIS

**unsigned find\_get\_pages\_contig(struct address\_space \*** *mapping***, pgoff\_t** *index***, unsigned int** *nr\_pages***, struct page \*\*** *pages***);**

## ARGUMENTS

*mapping*

The address\_space to search

*index*

The starting page index

*nr\_pages*

The maximum number of pages

*pages*

Where the resulting pages are placed

## DESCRIPTION

**find\_get\_pages\_contig** works exactly like **find\_get\_pages**, except that the returned number of pages are guaranteed to be contiguous.

**find\_get\_pages\_contig** returns the number of pages which were found.

## COPYRIGHT
