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

# filemap\_write\_and\_wait\_range(9)

write out & wait on a file range

## NAME

filemap\_write\_and\_wait\_range - write out & wait on a file range

## SYNOPSIS

**int filemap\_write\_and\_wait\_range(struct address\_space \*** *mapping***, loff\_t** *lstart***, loff\_t** *lend***);**

## ARGUMENTS

*mapping*

the address\_space for the pages

*lstart*

offset in bytes where the range starts

*lend*

offset in bytes where the range ends (inclusive)

## DESCRIPTION

Write out and wait upon file offsets lstart-\>lend, inclusive.

Note that \`lend' is inclusive (describes the last byte to be written) so that this function can be used to write to the very end-of-file (end = -1).

## COPYRIGHT
