'\" t .\" Title: blk_queue_unprep_rq .\" 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_UNPREP_RQ" "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_unprep_rq \- set an unprepare_request function for queue .SH "SYNOPSIS" .HP \w'void\ blk_queue_unprep_rq('u .BI "void blk_queue_unprep_rq(struct\ request_queue\ *\ " "q" ", unprep_rq_fn\ *\ " "ufn" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 queue .RE .PP \fIufn\fR .RS 4 unprepare_request function .RE .SH "DESCRIPTION" .PP It\*(Aqs possible for a queue to register an unprepare_request callback which is invoked before the request is finally completed\&. The goal of the function is to deallocate any data that was allocated in the prepare_request callback\&. .SH "COPYRIGHT" .br