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

struct request_queue * q

the request queue for the device

int depth

the maximum queue depth supported

struct blk_queue_tag * tags

the tag to use

int alloc_policy

tag allocation policy

Description

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