blk-mq.h (86008304dc2ad41a274cdacb585c641ec6bbb558) blk-mq.h (e6c987120e24cb913cb7bd4e675129a30fa49e0d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef INT_BLK_MQ_H
3#define INT_BLK_MQ_H
4
5#include "blk-stat.h"
6#include "blk-mq-tag.h"
7
8struct blk_mq_tag_set;

--- 27 unchanged lines hidden (view full) ---

36 struct blk_mq_ctxs *ctxs;
37 struct kobject kobj;
38} ____cacheline_aligned_in_smp;
39
40void blk_mq_free_queue(struct request_queue *q);
41int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr);
42void blk_mq_wake_waiters(struct request_queue *q);
43bool blk_mq_dispatch_rq_list(struct request_queue *, struct list_head *, bool);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef INT_BLK_MQ_H
3#define INT_BLK_MQ_H
4
5#include "blk-stat.h"
6#include "blk-mq-tag.h"
7
8struct blk_mq_tag_set;

--- 27 unchanged lines hidden (view full) ---

36 struct blk_mq_ctxs *ctxs;
37 struct kobject kobj;
38} ____cacheline_aligned_in_smp;
39
40void blk_mq_free_queue(struct request_queue *q);
41int blk_mq_update_nr_requests(struct request_queue *q, unsigned int nr);
42void blk_mq_wake_waiters(struct request_queue *q);
43bool blk_mq_dispatch_rq_list(struct request_queue *, struct list_head *, bool);
44void blk_mq_add_to_requeue_list(struct request *rq, bool at_head,
45 bool kick_requeue_list);
44void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, struct list_head *list);
45bool blk_mq_get_driver_tag(struct request *rq);
46struct request *blk_mq_dequeue_from_ctx(struct blk_mq_hw_ctx *hctx,
47 struct blk_mq_ctx *start);
48
49/*
50 * Internal helpers for allocating/freeing the request map
51 */

--- 199 unchanged lines hidden ---
46void blk_mq_flush_busy_ctxs(struct blk_mq_hw_ctx *hctx, struct list_head *list);
47bool blk_mq_get_driver_tag(struct request *rq);
48struct request *blk_mq_dequeue_from_ctx(struct blk_mq_hw_ctx *hctx,
49 struct blk_mq_ctx *start);
50
51/*
52 * Internal helpers for allocating/freeing the request map
53 */

--- 199 unchanged lines hidden ---