'\" t .\" Title: blk_end_request_cur .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BLK_END_REQUEST_CUR" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Block Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" blk_end_request_cur \- Helper function to finish the current request chunk\&. .SH "SYNOPSIS" .HP \w'bool\ blk_end_request_cur('u .BI "bool blk_end_request_cur(struct\ request\ *\ " "rq" ", int\ " "error" ");" .SH "ARGUMENTS" .PP \fIrq\fR .RS 4 the request to finish the current chunk for .RE .PP \fIerror\fR .RS 4 \fB0\fR for success, < \fB0\fR for error .RE .SH "DESCRIPTION" .PP Complete the current consecutively mapped chunk from \fIrq\fR\&. .SH "RETURN" .PP \fBfalse\fR \- we are done with this request \fBtrue\fR \- still buffers pending for this request .SH "COPYRIGHT" .br