Home
last modified time | relevance | path

Searched refs:tags (Results 1 – 9 of 9) sorted by relevance

/block/
Dblk-mq-tag.c20 static void blk_mq_update_wake_batch(struct blk_mq_tags *tags, in blk_mq_update_wake_batch() argument
26 sbitmap_queue_recalculate_wake_batch(&tags->bitmap_tags, in blk_mq_update_wake_batch()
28 sbitmap_queue_recalculate_wake_batch(&tags->breserved_tags, in blk_mq_update_wake_batch()
42 struct blk_mq_tags *tags = hctx->tags; in __blk_mq_tag_busy() local
60 spin_lock_irqsave(&tags->lock, flags); in __blk_mq_tag_busy()
61 users = tags->active_queues + 1; in __blk_mq_tag_busy()
62 WRITE_ONCE(tags->active_queues, users); in __blk_mq_tag_busy()
63 blk_mq_update_wake_batch(tags, users); in __blk_mq_tag_busy()
64 spin_unlock_irqrestore(&tags->lock, flags); in __blk_mq_tag_busy()
70 void blk_mq_tag_wakeup_all(struct blk_mq_tags *tags, bool include_reserve) in blk_mq_tag_wakeup_all() argument
[all …]
Dblk-mq.h58 void blk_mq_free_rqs(struct blk_mq_tag_set *set, struct blk_mq_tags *tags,
60 void blk_mq_free_rq_map(struct blk_mq_tags *tags);
64 struct blk_mq_tags *tags,
165 void blk_mq_free_tags(struct blk_mq_tags *tags);
173 void blk_mq_put_tag(struct blk_mq_tags *tags, struct blk_mq_ctx *ctx,
175 void blk_mq_put_tags(struct blk_mq_tags *tags, int *tag_array, int nr_tags);
177 struct blk_mq_tags **tags, unsigned int depth, bool can_grow);
182 void blk_mq_tag_wakeup_all(struct blk_mq_tags *tags, bool);
185 void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn,
211 static inline bool blk_mq_tag_is_reserved(struct blk_mq_tags *tags, in blk_mq_tag_is_reserved() argument
[all …]
Dblk-mq.c311 blk_mq_tag_wakeup_all(hctx->tags, true); in blk_mq_wake_waiters()
348 struct blk_mq_tags *tags, unsigned int tag) in blk_mq_rq_ctx_init() argument
353 struct request *rq = tags->static_rqs[tag]; in blk_mq_rq_ctx_init()
408 struct blk_mq_tags *tags; in __blk_mq_alloc_requests_batch() local
417 tags = blk_mq_tags_from_data(data); in __blk_mq_alloc_requests_batch()
422 prefetch(tags->static_rqs[tag]); in __blk_mq_alloc_requests_batch()
424 rq = blk_mq_rq_ctx_init(data, tags, tag); in __blk_mq_alloc_requests_batch()
714 blk_mq_put_tag(hctx->tags, ctx, rq->tag); in __blk_mq_free_request()
1074 blk_mq_put_tags(hctx->tags, tag_array, nr_tags); in blk_mq_flush_tag_batch()
1080 int tags[TAG_COMP_BATCH], nr_tags = 0; in blk_mq_end_request_batch() local
[all …]
Dblk-mq-debugfs.c399 struct blk_mq_tags *tags) in blk_mq_debugfs_tags_show() argument
401 seq_printf(m, "nr_tags=%u\n", tags->nr_tags); in blk_mq_debugfs_tags_show()
402 seq_printf(m, "nr_reserved_tags=%u\n", tags->nr_reserved_tags); in blk_mq_debugfs_tags_show()
404 READ_ONCE(tags->active_queues)); in blk_mq_debugfs_tags_show()
407 sbitmap_queue_show(&tags->bitmap_tags, m); in blk_mq_debugfs_tags_show()
409 if (tags->nr_reserved_tags) { in blk_mq_debugfs_tags_show()
411 sbitmap_queue_show(&tags->breserved_tags, m); in blk_mq_debugfs_tags_show()
424 if (hctx->tags) in hctx_tags_show()
425 blk_mq_debugfs_tags_show(m, hctx->tags); in hctx_tags_show()
441 if (hctx->tags) in hctx_tags_bitmap_show()
[all …]
Dblk-mq-sysfs.c73 return sprintf(page, "%u\n", hctx->tags->nr_tags); in blk_mq_hw_sysfs_nr_tags_show()
79 return sprintf(page, "%u\n", hctx->tags->nr_reserved_tags); in blk_mq_hw_sysfs_nr_reserved_tags_show()
Dkyber-iosched.c456 struct blk_mq_tags *tags = hctx->sched_tags; in kyber_depth_updated() local
457 unsigned int shift = tags->bitmap_tags.sb.shift; in kyber_depth_updated()
461 sbitmap_queue_min_shallow_depth(&tags->bitmap_tags, kqd->async_depth); in kyber_depth_updated()
Dmq-deadline.c662 struct blk_mq_tags *tags = hctx->sched_tags; in dd_depth_updated() local
666 sbitmap_queue_min_shallow_depth(&tags->bitmap_tags, 1); in dd_depth_updated()
DKconfig147 identify, monitor, and handle FC traffic based on VM tags by inserting
Dbfq-iosched.c7126 struct blk_mq_tags *tags = hctx->sched_tags; in bfq_depth_updated() local
7128 bfq_update_depths(bfqd, &tags->bitmap_tags); in bfq_depth_updated()
7129 sbitmap_queue_min_shallow_depth(&tags->bitmap_tags, 1); in bfq_depth_updated()