'\" t .\" Title: blk_queue_end_tag .\" 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_QUEUE_END_TAG" "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_queue_end_tag \- end tag operations for a request .SH "SYNOPSIS" .HP \w'void\ blk_queue_end_tag('u .BI "void blk_queue_end_tag(struct\ request_queue\ *\ " "q" ", struct\ request\ *\ " "rq" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 the request queue for the device .RE .PP \fIrq\fR .RS 4 the request that has completed .RE .SH "DESCRIPTION" .PP Typically called when \fBend_that_request_first\fR returns \fB0\fR, meaning all transfers have been done for a request\&. It\*(Aqs important to call this function before \fBend_that_request_last\fR, as that will put the request back on the free list thus corrupting the internal tag list\&. .SH "NOTES" .PP queue lock must be held\&. .SH "COPYRIGHT" .br