.\" 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 "BIO_GET_NR_VECS" "" "06 October 2005" "" "" .SH NAME bio_get_nr_vecs \- return approx number of vecs .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int bio_get_nr_vecs (struct block_device * \fIbdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbdev\fB\fR I/O target .SH "DESCRIPTION" .PP Return the approximate number of pages we can send to this target. There's no guarantee that you will be able to fit this number of pages into a bio, it does not account for dynamic restrictions that vary on offset.