---
name: "blk_queue_init_tags"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/blk_queue_init_tags"
---

# blk\_queue\_init\_tags(9)

initialize the queue tag info

## NAME

blk\_queue\_init\_tags - initialize the queue tag info

## SYNOPSIS

**int blk\_queue\_init\_tags(struct request\_queue \*** *q***, int** *depth***, struct blk\_queue\_tag \*** *tags***, int** *alloc\_policy***);**

## ARGUMENTS

*q*

the request queue for the device

*depth*

the maximum queue depth supported

*tags*

the tag to use

*alloc\_policy*

tag allocation policy

## DESCRIPTION

Queue lock must be held here if the function is called to resize an existing map.

## COPYRIGHT
