.\" 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_MAP_USER" "9" "09 October 2005" "" "" .SH NAME bio_map_user \- map user address into bio .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct bio * bio_map_user (request_queue_t * \fIq\fB, struct block_device * \fIbdev\fB, unsigned long \fIuaddr\fB, unsigned int \fIlen\fB, int \fIwrite_to_vm\fB); \fR .SH "ARGUMENTS" .TP \fB\fIq\fB\fR the request_queue_t for the bio .TP \fB\fIbdev\fB\fR destination block device .TP \fB\fIuaddr\fB\fR start of user address .TP \fB\fIlen\fB\fR length in bytes .TP \fB\fIwrite_to_vm\fB\fR bool indicating writing to pages or not .SH "DESCRIPTION" .PP Map the user space address into a bio suitable for io to a block device. Returns an error pointer in case of error.