.\" 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 "BLK_RQ_NEXT_SEGMENT" "" "06 October 2005" "" ""
.SH NAME
blk_rq_next_segment \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void blk_rq_next_segment (struct request * \fIrq\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrq\fB\fR
the request being processed
.SH "DESCRIPTION"
.PP
Points to the next segment in the request if the current segment
is complete. Leaves things unchanged if this segment is not over
or if no more segments are left in this request.
.PP
Meant to be used for bio traversal during I/O submission
Does not affect any I/O completions or update completion state
in the request, and does not modify any bio fields.
.PP
Decrementing rq->nr_sectors, rq->current_nr_sectors and
rq->nr_cbio_sectors as data is transferred is the caller's
responsibility and should be done before calling this routine.