Searched refs:tag_index (Results 1 – 6 of 6) sorted by relevance
| /Linux-v4.19/block/ |
| D | blk-tag.c | 43 kfree(bqt->tag_index); in blk_free_tags() 44 bqt->tag_index = NULL; in blk_free_tags() 92 struct request **tag_index; in init_tag_map() local 102 tag_index = kcalloc(depth, sizeof(struct request *), GFP_ATOMIC); in init_tag_map() 103 if (!tag_index) in init_tag_map() 113 tags->tag_index = tag_index; in init_tag_map() 118 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-v4.19/tools/testing/radix-tree/ |
| D | multiorder.c | 287 int tag_index[TAG_ENTRIES] = {0, 4, 16, 40, 64, 72, 128}; in multiorder_tagged_iteration() local 295 assert(radix_tree_tag_set(&tree, tag_index[i], 1)); in multiorder_tagged_iteration() 301 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration() 310 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration() 314 assert((iter.index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration() 316 assert((item->index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration() 329 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration() 337 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration() 341 assert((iter.index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration() 343 assert((item->index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration() [all …]
|
| /Linux-v4.19/include/linux/ |
| D | blkdev.h | 341 struct request **tag_index; /* map of busy tags */ member 1382 return bqt->tag_index[tag]; in blk_map_queue_find_tag()
|
| /Linux-v4.19/drivers/scsi/fnic/ |
| D | fnic_scsi.c | 2292 bqt->tag_index[tag] = sc->request; in fnic_scsi_host_start_tag() 2317 BUG_ON(!bqt || !bqt->tag_index[tag]); in fnic_scsi_host_end_tag() 2321 bqt->tag_index[tag] = NULL; in fnic_scsi_host_end_tag()
|
| /Linux-v4.19/drivers/scsi/ |
| D | hpsa.c | 6833 static inline int bad_tag(struct ctlr_info *h, u32 tag_index, in bad_tag() argument 6836 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag() 6857 u32 tag_index; in process_indexed_cmd() local 6860 tag_index = raw_tag >> DIRECT_LOOKUP_SHIFT; in process_indexed_cmd() 6861 if (!bad_tag(h, tag_index, raw_tag)) { in process_indexed_cmd() 6862 c = h->cmd_pool + tag_index; in process_indexed_cmd()
|
| /Linux-v4.19/Documentation/block/ |
| D | biodoc.txt | 786 struct request **tag_index; /* array or pointers to rq */
|