Lines Matching refs:nvme_command
172 return queue->cmnd_capsule_len - sizeof(struct nvme_command); in nvme_rdma_inline_data_size()
305 req->sqe.data = kzalloc(sizeof(struct nvme_command), GFP_KERNEL); in nvme_rdma_init_request()
592 queue->cmnd_capsule_len = sizeof(struct nvme_command); in nvme_rdma_alloc_queue()
839 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_destroy_admin_queue()
872 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
933 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_configure_admin_queue()
1290 static int nvme_rdma_set_sg_null(struct nvme_command *c) in nvme_rdma_set_sg_null()
1302 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_inline()
1327 struct nvme_rdma_request *req, struct nvme_command *c) in nvme_rdma_map_sg_single()
1339 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_fr()
1386 struct nvme_command *cmd, struct ib_sig_domain *domain, in nvme_rdma_set_sig_domain()
1404 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs()
1427 static void nvme_rdma_set_prot_checks(struct nvme_command *cmd, u8 *mask) in nvme_rdma_set_prot_checks()
1443 struct nvme_rdma_request *req, struct nvme_command *c, in nvme_rdma_map_sg_pi()
1498 struct request *rq, struct nvme_command *c) in nvme_rdma_map_data()
1619 sge->length = sizeof(struct nvme_command); in nvme_rdma_post_send()
1689 struct nvme_command *cmd = sqe->data; in nvme_rdma_submit_async_event()
2028 struct nvme_command *c = sqe->data; in nvme_rdma_queue_rq()
2042 sizeof(struct nvme_command), in nvme_rdma_queue_rq()
2049 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_queue_rq()
2076 sizeof(struct nvme_command), DMA_TO_DEVICE); in nvme_rdma_queue_rq()
2094 ib_dma_unmap_single(dev, req->sqe.dma, sizeof(struct nvme_command), in nvme_rdma_queue_rq()
2147 ib_dma_unmap_single(ibdev, req->sqe.dma, sizeof(struct nvme_command), in nvme_rdma_complete_rq()