Searched refs:NVME_CQ_SIZE (Results 1 – 1 of 1) sorted by relevance
18 #define NVME_CQ_SIZE(depth) (depth * sizeof(struct nvme_completion)) macro227 nvmeq->cqes = (void *)memalign(4096, NVME_CQ_SIZE(depth)); in nvme_alloc_queue()230 memset((void *)nvmeq->cqes, 0, NVME_CQ_SIZE(depth)); in nvme_alloc_queue()323 memset((void *)nvmeq->cqes, 0, NVME_CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()325 (ulong)nvmeq->cqes + NVME_CQ_SIZE(nvmeq->q_depth)); in nvme_init_queue()