'\" t .\" Title: rq_ioc .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "RQ_IOC" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "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" rq_ioc \- determine io_context for request allocation .SH "SYNOPSIS" .HP \w'struct\ io_context\ *\ rq_ioc('u .BI "struct io_context * rq_ioc(struct\ bio\ *\ " "bio" ");" .SH "ARGUMENTS" .PP \fIbio\fR .RS 4 request being allocated is for this bio (can be \fBNULL\fR) .RE .SH "DESCRIPTION" .PP Determine io_context to use for request allocation for \fIbio\fR\&. May return \fBNULL\fR if \fBcurrent\-\fR>io_context doesn\*(Aqt exist\&. .SH "COPYRIGHT" .br