Lines Matching refs:qid
44 u16 qid;
220 int qid, int depth)
241 nvmeq->q_db = &dev->dbs[qid * 2 * dev->db_stride];
243 nvmeq->qid = qid;
245 dev->queues[qid] = nvmeq;
263 c.delete_queue.qid = cpu_to_le16(id);
315 static void nvme_init_queue(struct nvme_queue *nvmeq, u16 qid)
322 nvmeq->q_db = &dev->dbs[qid * 2 * dev->db_stride];
394 static int nvme_alloc_cq(struct nvme_dev *dev, u16 qid,
403 c.create_cq.cqid = cpu_to_le16(qid);
411 static int nvme_alloc_sq(struct nvme_dev *dev, u16 qid,
420 c.create_sq.sqid = cpu_to_le16(qid);
423 c.create_sq.cqid = cpu_to_le16(qid);
498 static int nvme_create_queue(struct nvme_queue *nvmeq, int qid)
503 nvmeq->cq_vector = qid - 1;
504 result = nvme_alloc_cq(dev, qid, nvmeq);
508 result = nvme_alloc_sq(dev, qid, nvmeq);
512 nvme_init_queue(nvmeq, qid);
517 nvme_delete_sq(dev, qid);
519 nvme_delete_cq(dev, qid);