Searched refs:CQ_SIZE (Results 1 – 1 of 1) sorted by relevance
54 #define CQ_SIZE(depth) (depth * sizeof(struct nvme_completion)) macro1394 dma_free_coherent(nvmeq->q_dmadev, CQ_SIZE(nvmeq->q_depth), in nvme_free_queue()1518 nvmeq->cqes = dma_zalloc_coherent(dev->dev, CQ_SIZE(depth), in nvme_alloc_queue()1546 dma_free_coherent(dev->dev, CQ_SIZE(depth), (void *)nvmeq->cqes, in nvme_alloc_queue()1573 memset((void *)nvmeq->cqes, 0, CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()