'\" t .\" Title: __blk_end_bidi_request .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "__BLK_END_BIDI_REQUE" "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_bidi_request \- Complete a bidi request with queue lock held .SH "SYNOPSIS" .HP \w'bool\ __blk_end_bidi_request('u .BI "bool __blk_end_bidi_request(struct\ request\ *\ " "rq" ", int\ " "error" ", unsigned\ int\ " "nr_bytes" ", unsigned\ int\ " "bidi_bytes" ");" .SH "ARGUMENTS" .PP \fIrq\fR .RS 4 the request to complete .RE .PP \fIerror\fR .RS 4 \fB0\fR for success, < \fB0\fR for error .RE .PP \fInr_bytes\fR .RS 4 number of bytes to complete \fIrq\fR .RE .PP \fIbidi_bytes\fR .RS 4 number of bytes to complete \fIrq\fR\->next_rq .RE .SH "DESCRIPTION" .PP Identical to \fBblk_end_bidi_request\fR except that queue lock is assumed to be locked on entry and remains so on return\&. .SH "RETURN" .PP \fBfalse\fR \- we are done with this request \fBtrue\fR \- still buffers pending for this request .SH "COPYRIGHT" .br