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

# invalidate\_inode\_pages2\_range(9)

remove range of pages from an address\_space

## NAME

invalidate\_inode\_pages2\_range - remove range of pages from an address\_space

## SYNOPSIS

**int invalidate\_inode\_pages2\_range(struct address\_space \*** *mapping***, pgoff\_t** *start***, pgoff\_t** *end***);**

## ARGUMENTS

*mapping*

the address\_space

*start*

the page offset 'from' which to invalidate

*end*

the page offset 'to' which to invalidate (inclusive)

## DESCRIPTION

Any pages which are found to be mapped into pagetables are unmapped prior to invalidation.

Returns -EBUSY if any pages could not be invalidated.

## COPYRIGHT
