GENERIC_WRITEPAGES(9) Memory Management in Linux GENERIC_WRITEPAGES(9)NAMEgeneric_writepages - walk the list of dirty pages of the given address
space and writepage all of them.
SYNOPSIS
int generic_writepages(struct address_space * mapping,
struct writeback_control * wbc);
ARGUMENTS
mapping
address space structure to write
wbc
subtract the number of written pages from *wbc->nr_to_write
DESCRIPTION
This is a library function, which implements the writepages
address_space_operation.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 GENERIC_WRITEPAGES(9)