Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dblk-tag.c42 kfree(bqt->tag_index); in blk_free_tags()
43 bqt->tag_index = NULL; in blk_free_tags()
91 struct request **tag_index; in init_tag_map() local
101 tag_index = kzalloc(depth * sizeof(struct request *), GFP_ATOMIC); in init_tag_map()
102 if (!tag_index) in init_tag_map()
112 tags->tag_index = tag_index; in init_tag_map()
117 kfree(tag_index); in init_tag_map()
206 struct request **tag_index; in blk_queue_resize_tags() local
234 tag_index = bqt->tag_index; in blk_queue_resize_tags()
241 memcpy(bqt->tag_index, tag_index, max_depth * sizeof(struct request *)); in blk_queue_resize_tags()
[all …]
/linux-4.1.27/include/linux/
Dblkdev.h269 struct request **tag_index; /* map of busy tags */ member
1155 return bqt->tag_index[tag]; in blk_map_queue_find_tag()
/linux-4.1.27/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-4.1.27/drivers/scsi/fnic/
Dfnic_scsi.c2174 bqt->tag_index[tag] = sc->request; in fnic_scsi_host_start_tag()
2199 BUG_ON(!bqt || !bqt->tag_index[tag]); in fnic_scsi_host_end_tag()
2203 bqt->tag_index[tag] = NULL; in fnic_scsi_host_end_tag()
/linux-4.1.27/drivers/scsi/
Dhpsa.c5386 static inline int bad_tag(struct ctlr_info *h, u32 tag_index, in bad_tag() argument
5389 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
5420 u32 tag_index; in process_indexed_cmd() local
5423 tag_index = raw_tag >> DIRECT_LOOKUP_SHIFT; in process_indexed_cmd()
5424 if (!bad_tag(h, tag_index, raw_tag)) { in process_indexed_cmd()
5425 c = h->cmd_pool + tag_index; in process_indexed_cmd()
/linux-4.1.27/Documentation/block/
Dbiodoc.txt799 struct request **tag_index; /* array or pointers to rq */