table of contents
other versions
WRITE_ONE_PAGE(9) | Memory Management in Linux | WRITE_ONE_PAGE(9) |
NAME¶
write_one_page - write out a single page and optionally wait on I/O
SYNOPSIS¶
int write_one_page(struct page * page, int wait);
ARGUMENTS¶
struct page * page
the page to write
int wait
if true, wait on writeout
DESCRIPTION¶
The page must be locked by the caller and will be unlocked upon return.
write_one_page returns a negative error code if I/O failed.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |