'\" t .\" Title: blk_execute_rq .\" 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_EXECUTE_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_execute_rq \- insert a request into queue for execution .SH "SYNOPSIS" .HP \w'int\ blk_execute_rq('u .BI "int blk_execute_rq(struct\ request_queue\ *\ " "q" ", struct\ gendisk\ *\ " "bd_disk" ", struct\ request\ *\ " "rq" ", int\ " "at_head" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 queue to insert the request in .RE .PP \fIbd_disk\fR .RS 4 matching gendisk .RE .PP \fIrq\fR .RS 4 request to insert .RE .PP \fIat_head\fR .RS 4 insert request at head or tail of queue .RE .SH "DESCRIPTION" .PP Insert a fully prepared request at the back of the I/O scheduler queue for execution and wait for completion\&. .SH "COPYRIGHT" .br