Lines Matching refs:nvme_command
173 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size()
306 req->sqe.data = kzalloc(sizeof(struct nvme_command), GFP_KERNEL); in nvme_rdma_init_request()
595 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
849 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
882 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
947 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1306 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1318 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1344 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
1356 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_fr()
1403 struct nvme_command *cmd, struct ib_sig_domain *domain, in nvme_rdma_set_sig_domain()
1421 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs()
1444 static void nvme_rdma_set_prot_checks(struct nvme_command *cmd, u8 *mask) in nvme_rdma_set_prot_checks()
1460 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_pi()
1515 struct request *rq, struct nvme_command *c) in nvme_rdma_map_data()
1636 sge->length = sizeof(struct nvme_command); in nvme_rdma_post_send()
1706 struct nvme_command *cmd = sqe->data; in nvme_rdma_submit_async_event()
2035 struct nvme_command *c = nvme_req(rq)->cmd; in nvme_rdma_queue_rq()
2049 sizeof(struct nvme_command), in nvme_rdma_queue_rq()
2056 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_queue_rq()
2083 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_queue_rq()
2103 ib_dma_unmap_single(dev, req->sqe.dma, sizeof(struct nvme_command), in nvme_rdma_queue_rq()
2156 ib_dma_unmap_single(ibdev, req->sqe.dma, sizeof(struct nvme_command), in nvme_rdma_complete_rq()