/drivers/nvme/target/ |
D | loop.c | 161 static int nvme_loop_queue_rq(struct blk_mq_hw_ctx *hctx, in nvme_loop_queue_rq() argument 164 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_loop_queue_rq() 165 struct nvme_loop_queue *queue = hctx->driver_data; in nvme_loop_queue_rq() 247 static int nvme_loop_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_loop_init_hctx() argument 255 hctx->driver_data = queue; in nvme_loop_init_hctx() 259 static int nvme_loop_init_admin_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_loop_init_admin_hctx() argument 267 hctx->driver_data = queue; in nvme_loop_init_admin_hctx()
|
/drivers/nvme/host/ |
D | pci.c | 210 static int nvme_admin_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_admin_init_hctx() argument 217 WARN_ON(dev->admin_tagset.tags[0] != hctx->tags); in nvme_admin_init_hctx() 220 hctx->driver_data = nvmeq; in nvme_admin_init_hctx() 225 static void nvme_admin_exit_hctx(struct blk_mq_hw_ctx *hctx, unsigned int hctx_idx) in nvme_admin_exit_hctx() argument 227 struct nvme_queue *nvmeq = hctx->driver_data; in nvme_admin_exit_hctx() 245 static int nvme_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_init_hctx() argument 254 WARN_ON(dev->tagset.tags[hctx_idx] != hctx->tags); in nvme_init_hctx() 255 hctx->driver_data = nvmeq; in nvme_init_hctx() 575 static int nvme_queue_rq(struct blk_mq_hw_ctx *hctx, in nvme_queue_rq() argument 578 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_queue_rq() [all …]
|
D | rdma.c | 376 static int nvme_rdma_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_rdma_init_hctx() argument 384 hctx->driver_data = queue; in nvme_rdma_init_hctx() 388 static int nvme_rdma_init_admin_hctx(struct blk_mq_hw_ctx *hctx, void *data, in nvme_rdma_init_admin_hctx() argument 396 hctx->driver_data = queue; in nvme_rdma_init_admin_hctx() 1434 static int nvme_rdma_queue_rq(struct blk_mq_hw_ctx *hctx, in nvme_rdma_queue_rq() argument 1437 struct nvme_ns *ns = hctx->queue->queuedata; in nvme_rdma_queue_rq() 1438 struct nvme_rdma_queue *queue = hctx->driver_data; in nvme_rdma_queue_rq() 1491 static int nvme_rdma_poll(struct blk_mq_hw_ctx *hctx, unsigned int tag) in nvme_rdma_poll() argument 1493 struct nvme_rdma_queue *queue = hctx->driver_data; in nvme_rdma_poll()
|
/drivers/block/ |
D | virtio_blk.c | 162 static int virtio_queue_rq(struct blk_mq_hw_ctx *hctx, in virtio_queue_rq() argument 165 struct virtio_blk *vblk = hctx->queue->queuedata; in virtio_queue_rq() 170 int qid = hctx->queue_num; in virtio_queue_rq() 206 num = blk_rq_map_sg(hctx->queue, vbr->req, vbr->sg); in virtio_queue_rq() 218 blk_mq_stop_hw_queue(hctx); in virtio_queue_rq()
|
D | null_blk.c | 355 static int null_queue_rq(struct blk_mq_hw_ctx *hctx, in null_queue_rq() argument 365 cmd->nq = hctx->driver_data; in null_queue_rq() 382 static int null_init_hctx(struct blk_mq_hw_ctx *hctx, void *data, in null_init_hctx() argument 388 hctx->driver_data = nq; in null_init_hctx()
|
D | xen-blkfront.c | 875 static int blkif_queue_rq(struct blk_mq_hw_ctx *hctx, in blkif_queue_rq() argument 879 int qid = hctx->queue_num; in blkif_queue_rq() 880 struct blkfront_info *info = hctx->queue->queuedata; in blkif_queue_rq() 906 blk_mq_stop_hw_queue(hctx); in blkif_queue_rq()
|
D | nbd.c | 536 static int nbd_queue_rq(struct blk_mq_hw_ctx *hctx, in nbd_queue_rq() argument
|
D | loop.c | 1661 static int loop_queue_rq(struct blk_mq_hw_ctx *hctx, in loop_queue_rq() argument
|
D | rbd.c | 4229 static int rbd_queue_rq(struct blk_mq_hw_ctx *hctx, in rbd_queue_rq() argument
|
/drivers/block/mtip32xx/ |
D | mtip32xx.c | 197 struct blk_mq_hw_ctx *hctx = dd->queue->queue_hw_ctx[0]; in mtip_rq_from_tag() local 199 return blk_mq_tag_to_rq(hctx->tags, tag); in mtip_rq_from_tag() 2376 struct blk_mq_hw_ctx *hctx) in mtip_hw_submit_io() argument 3741 static int mtip_submit_request(struct blk_mq_hw_ctx *hctx, struct request *rq) in mtip_submit_request() argument 3743 struct driver_data *dd = hctx->queue->queuedata; in mtip_submit_request() 3777 nents = blk_rq_map_sg(hctx->queue, rq, cmd->sg); in mtip_submit_request() 3780 mtip_hw_submit_io(dd, rq, cmd, nents, hctx); in mtip_submit_request() 3784 static bool mtip_check_unal_depth(struct blk_mq_hw_ctx *hctx, in mtip_check_unal_depth() argument 3787 struct driver_data *dd = hctx->queue->queuedata; in mtip_check_unal_depth() 3808 static int mtip_queue_rq(struct blk_mq_hw_ctx *hctx, in mtip_queue_rq() argument [all …]
|
/drivers/mtd/ubi/ |
D | block.c | 321 static int ubiblock_queue_rq(struct blk_mq_hw_ctx *hctx, in ubiblock_queue_rq() argument 325 struct ubiblock *dev = hctx->queue->queuedata; in ubiblock_queue_rq()
|
/drivers/md/ |
D | dm-rq.c | 901 static int dm_mq_queue_rq(struct blk_mq_hw_ctx *hctx, in dm_mq_queue_rq() argument 925 if (unlikely(test_bit(BLK_MQ_S_STOPPED, &hctx->state))) in dm_mq_queue_rq()
|
/drivers/scsi/ |
D | scsi_lib.c | 1880 static int scsi_queue_rq(struct blk_mq_hw_ctx *hctx, in scsi_queue_rq() argument 1945 blk_mq_stop_hw_queue(hctx); in scsi_queue_rq() 1948 blk_mq_delay_queue(hctx, SCSI_QUEUE_DELAY); in scsi_queue_rq()
|