Lines Matching refs:sq_cmds
192 void *sq_cmds; member
491 memcpy(nvmeq->sq_cmds + (nvmeq->sq_tail << nvmeq->sqes), in nvme_sq_copy_cmd()
1404 if (!nvmeq->sq_cmds) in nvme_free_queue()
1409 nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_free_queue()
1412 nvmeq->sq_cmds, nvmeq->sq_dma_addr); in nvme_free_queue()
1499 nvmeq->sq_cmds = pci_alloc_p2pmem(pdev, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()
1500 if (nvmeq->sq_cmds) { in nvme_alloc_sq_cmds()
1502 nvmeq->sq_cmds); in nvme_alloc_sq_cmds()
1508 pci_free_p2pmem(pdev, nvmeq->sq_cmds, SQ_SIZE(nvmeq)); in nvme_alloc_sq_cmds()
1512 nvmeq->sq_cmds = dma_alloc_coherent(dev->dev, SQ_SIZE(nvmeq), in nvme_alloc_sq_cmds()
1514 if (!nvmeq->sq_cmds) in nvme_alloc_sq_cmds()