.\" 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_COPY_USER" "9" "09 October 2005" "" ""
.SH NAME
bio_copy_user \- copy user data to bio
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct bio * bio_copy_user (request_queue_t * \fIq\fB, unsigned long \fIuaddr\fB, unsigned int \fIlen\fB, int \fIwrite_to_vm\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIq\fB\fR
destination block queue
.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
Prepares and returns a bio for indirect user io, bouncing data
to/from kernel pages as necessary. Must be paired with
call \fBbio_uncopy_user\fR on io completion.