Lines Matching refs:q_depth
108 u16 q_depth; member
356 if (tag >= nvmeq->q_depth) { in nvme_finish_cmd()
380 if (++tail == nvmeq->q_depth) in __nvme_submit_cmd()
739 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_discard()
754 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_flush()
806 if (++nvmeq->sq_tail == nvmeq->q_depth) in nvme_submit_iod()
923 if (++head == nvmeq->q_depth) { in nvme_process_cq()
1122 c.create_cq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_cq()
1139 c.create_sq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_sq()
1310 dma_free_coherent(nvmeq->q_dmadev, CQ_SIZE(nvmeq->q_depth), in nvme_free_queue()
1312 dma_free_coherent(nvmeq->q_dmadev, SQ_SIZE(nvmeq->q_depth), in nvme_free_queue()
1413 nvmeq->q_depth = depth; in nvme_alloc_queue()
1448 memset((void *)nvmeq->cqes, 0, CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()
1644 aqa = nvmeq->q_depth - 1; in nvme_configure_admin_queue()
2175 if (!nvme_alloc_queue(dev, i, dev->q_depth)) in nvme_create_io_queues()
2337 min_t(int, dev->q_depth, BLK_MQ_MAX_DEPTH) - 1; in nvme_dev_add()
2393 dev->q_depth = min_t(int, NVME_CAP_MQES(cap) + 1, NVME_Q_DEPTH); in nvme_dev_map()