.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "BLKMTD_ADD_PAGE" "" "06 October 2005" "" "" .SH NAME blkmtd_add_page \- add a page to the current BIO .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct bio * blkmtd_add_page (struct bio * \fIbio\fB, struct block_device * \fIblkdev\fB, struct page * \fIpage\fB, int \fIpagecnt\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbio\fB\fR bio to add to (NULL to alloc initial bio) .TP \fB\fIblkdev\fB\fR block device .TP \fB\fIpage\fB\fR page to add .TP \fB\fIpagecnt\fB\fR pages left to add .SH "DESCRIPTION" .PP Adds a page to the current bio, allocating it if necessary. If it cannot be added, the current bio is written out and a new one is allocated. Returns the new bio to add or NULL on error