WRITE_PAGES
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
write_pages - write block of data to device via the page cache
SYNOPSIS
"SYNOPSIS"
int write_pages (struct blkmtd_dev * dev, const u_char * buf, loff_t to, size_t len, size_t * retlen);
ARGUMENTS
- dev
-
device to write to
- buf
-
data source or NULL if erase (output is set to 0xff)
- to
-
offset into output device
- len
-
amount to data to write
- retlen
-
amount of data written
DESCRIPTION
Grab pages from the page cache and fill them with the source data.
Non page aligned start and end result in a readin of the page and
part of the page being modified. Pages are added to the bio and then written
out.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 06:21:17 GMT, October 06, 2005