'\" t .\" Title: blk_end_bidi_request .\" 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_BIDI_REQUEST" "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 .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 Ends I/O on a number of bytes attached to \fIrq\fR and \fIrq\fR\->next_rq\&. Drivers that supports bidi can safely call this member for any type of request, bidi or uni\&. In the later case \fIbidi_bytes\fR is just ignored\&. .SH "RETURN" .PP \fBfalse\fR \- we are done with this request \fBtrue\fR \- still buffers pending for this request .SH "COPYRIGHT" .br