Searched refs:tag (Results 1 - 7 of 7) sorted by relevance
/block/ |
H A D | blk-mq-tag.h | 16 #define TAG_TO_INDEX(bt, tag) ((tag) >> (bt)->bits_per_word) 17 #define TAG_TO_BIT(bt, tag) ((tag) & ((1 << (bt)->bits_per_word) - 1)) 52 extern void blk_mq_put_tag(struct blk_mq_hw_ctx *hctx, unsigned int tag, unsigned int *last_tag);
|
H A D | blk-tag.c | 13 * blk_queue_find_tag - find a request by its tag and queue 15 * @tag: The tag of the request 18 * Should be used when a device returns a tag and you want to match 23 struct request *blk_queue_find_tag(struct request_queue *q, int tag) argument 25 return blk_map_queue_find_tag(q->queue_tags, tag); 30 * blk_free_tags - release a given set of tag maintenance info 31 * @bqt: the tag map to free 54 * __blk_queue_free_tags - release tag maintenance info 75 * blk_queue_free_tags - release tag maintenanc 264 unsigned tag = rq->tag; /* negative tags invalid */ local 313 int tag; local [all...] |
H A D | blk-mq-tag.c | 9 * between multiple submitters when a shared tag map is used. 20 #include "blk-mq-tag.h" 107 * For shared tag users, we track the number of currently active users 108 * and attempt to provide a fair share of the tag depth for each of them. 139 int tag, org_last_tag, end; local 145 tag = find_next_zero_bit(&bm->word, end, last_tag); 146 if (unlikely(tag >= end)) { 158 last_tag = tag + 1; 159 } while (test_and_set_bit_lock(tag, &bm->word)); 161 return tag; 179 int index, i, tag; local 240 int tag; local 281 int tag; local 293 int tag, zero = 0; local 337 bt_clear_tag(struct blk_mq_bitmap_tags *bt, unsigned int tag) argument 363 __blk_mq_put_tag(struct blk_mq_tags *tags, unsigned int tag) argument 370 __blk_mq_put_reserved_tag(struct blk_mq_tags *tags, unsigned int tag) argument 378 blk_mq_put_tag(struct blk_mq_hw_ctx *hctx, unsigned int tag, unsigned int *last_tag) argument 565 blk_mq_tag_init_last_tag(struct blk_mq_tags *tags, unsigned int *tag) argument [all...] |
H A D | Makefile | 5 obj-$(CONFIG_BLOCK) := bio.o elevator.o blk-core.o blk-tag.o blk-sysfs.o \ 8 blk-iopoll.o blk-lib.o blk-mq.o blk-mq-tag.o \
|
H A D | blk-flush.c | 230 flush_rq->tag = -1; 310 * Borrow tag from the first request since they can't 315 flush_rq->tag = first_rq->tag;
|
H A D | blk-mq.c | 30 #include "blk-mq-tag.h" 187 /* tag was already set */ 211 unsigned int tag; local 213 tag = blk_mq_get_tag(data); 214 if (tag != BLK_MQ_TAG_FAIL) { 215 rq = data->hctx->tags->rqs[tag]; 222 rq->tag = tag; 270 const int tag = rq->tag; local 501 is_flush_request(struct request *rq, struct blk_flush_queue *fq, unsigned int tag) argument 508 blk_mq_tag_to_rq(struct blk_mq_tags *tags, unsigned int tag) argument [all...] |
H A D | blk-core.c | 110 rq->tag = -1;
|
Completed in 308 milliseconds