Home
last modified time | relevance | path

Searched refs:tag_index (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/block/
Dblk-tag.c45 kfree(bqt->tag_index); in __blk_free_tags()
46 bqt->tag_index = NULL; in __blk_free_tags()
110 struct request **tag_index; in init_tag_map() local
120 tag_index = kzalloc(depth * sizeof(struct request *), GFP_ATOMIC); in init_tag_map()
121 if (!tag_index) in init_tag_map()
131 tags->tag_index = tag_index; in init_tag_map()
136 kfree(tag_index); in init_tag_map()
223 struct request **tag_index; in blk_queue_resize_tags() local
251 tag_index = bqt->tag_index; in blk_queue_resize_tags()
258 memcpy(bqt->tag_index, tag_index, max_depth * sizeof(struct request *)); in blk_queue_resize_tags()
[all …]
/linux-3.4.99/include/linux/
Dblkdev.h235 struct request **tag_index; /* map of busy tags */ member
948 return bqt->tag_index[tag]; in blk_map_queue_find_tag()
/linux-3.4.99/drivers/scsi/
Dhpsa.c3087 static inline int bad_tag(struct ctlr_info *h, u32 tag_index, in bad_tag() argument
3090 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
3131 u32 tag_index; in process_indexed_cmd() local
3134 tag_index = hpsa_tag_to_index(raw_tag); in process_indexed_cmd()
3135 if (bad_tag(h, tag_index, raw_tag)) in process_indexed_cmd()
3137 c = h->cmd_pool + tag_index; in process_indexed_cmd()
/linux-3.4.99/drivers/block/
Dcciss.c3461 static inline int bad_tag(ctlr_info_t *h, u32 tag_index, in bad_tag() argument
3464 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
3510 u32 tag_index; in process_indexed_cmd() local
3513 tag_index = cciss_tag_to_index(raw_tag); in process_indexed_cmd()
3514 if (bad_tag(h, tag_index, raw_tag)) in process_indexed_cmd()
3516 c = h->cmd_pool + tag_index; in process_indexed_cmd()
/linux-3.4.99/Documentation/block/
Dbiodoc.txt823 struct request **tag_index; /* array or pointers to rq */