Lines Matching refs:nvme_cmd
47 struct nvme_command *nvme_cmd; member
325 c->nvme_cmd = kmalloc(sizeof(*c->nvme_cmd), GFP_KERNEL); in nvmet_rdma_alloc_cmd()
326 if (!c->nvme_cmd) in nvmet_rdma_alloc_cmd()
329 c->sge[0].addr = ib_dma_map_single(ndev->device, c->nvme_cmd, in nvmet_rdma_alloc_cmd()
330 sizeof(*c->nvme_cmd), DMA_FROM_DEVICE); in nvmet_rdma_alloc_cmd()
334 c->sge[0].length = sizeof(*c->nvme_cmd); in nvmet_rdma_alloc_cmd()
350 sizeof(*c->nvme_cmd), DMA_FROM_DEVICE); in nvmet_rdma_alloc_cmd()
352 kfree(c->nvme_cmd); in nvmet_rdma_alloc_cmd()
364 sizeof(*c->nvme_cmd), DMA_FROM_DEVICE); in nvmet_rdma_free_cmd()
365 kfree(c->nvme_cmd); in nvmet_rdma_free_cmd()
1037 rsp->req.cmd = cmd->nvme_cmd; in nvmet_rdma_recv_done()