---
name: "read_cache_pages"
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/read_cache_pages"
---

# read\_cache\_pages(9)

populate an address space with some pages & start reads against them

## NAME

read\_cache\_pages - populate an address space with some pages & start reads against them

## SYNOPSIS

**int read\_cache\_pages(struct address\_space \*** *mapping***, struct list\_head \*** *pages***, int (\****filler***) (void \*, struct page \*), void \*** *data***);**

## ARGUMENTS

*mapping*

the address\_space

*pages*

The address of a list\_head which contains the target pages. These pages have their -\>index populated and are otherwise uninitialised.

*filler*

callback routine for filling a single page.

*data*

private data for the callback routine.

## DESCRIPTION

Hides the details of the LRU cache etc from the filesystems.

## COPYRIGHT
