'\" t .\" Title: blk_queue_init_tags .\" 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_INIT_TAGS" "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_init_tags \- initialize the queue tag info .SH "SYNOPSIS" .HP \w'int\ blk_queue_init_tags('u .BI "int blk_queue_init_tags(struct\ request_queue\ *\ " "q" ", int\ " "depth" ", struct\ blk_queue_tag\ *\ " "tags" ", int\ " "alloc_policy" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 the request queue for the device .RE .PP \fIdepth\fR .RS 4 the maximum queue depth supported .RE .PP \fItags\fR .RS 4 the tag to use .RE .PP \fIalloc_policy\fR .RS 4 tag allocation policy .RE .SH "DESCRIPTION" .PP Queue lock must be held here if the function is called to resize an existing map\&. .SH "COPYRIGHT" .br