Lines Matching refs:fcp_req
98 struct nvmefc_fcp_req fcp_req; member
210 return container_of(fcpreq, struct nvme_fc_fcp_op, fcp_req); in fcp_req_to_fcp_op()
1824 fc_dma_unmap_single(ctrl->lport->dev, op->fcp_req.rspdma, in __nvme_fc_exit_request()
1826 fc_dma_unmap_single(ctrl->lport->dev, op->fcp_req.cmddma, in __nvme_fc_exit_request()
1863 &op->fcp_req); in __nvme_fc_abort_op()
1931 struct nvmefc_fcp_req *freq = &op->fcp_req; in nvme_fc_fcpio_done()
1980 fc_dma_sync_single_for_cpu(ctrl->lport->dev, op->fcp_req.rspdma, in nvme_fc_fcpio_done()
2098 op->fcp_req.cmdaddr = &op->cmd_iu; in __nvme_fc_init_request()
2099 op->fcp_req.cmdlen = sizeof(op->cmd_iu); in __nvme_fc_init_request()
2100 op->fcp_req.rspaddr = &op->rsp_iu; in __nvme_fc_init_request()
2101 op->fcp_req.rsplen = sizeof(op->rsp_iu); in __nvme_fc_init_request()
2102 op->fcp_req.done = nvme_fc_fcpio_done; in __nvme_fc_init_request()
2117 op->fcp_req.cmddma = fc_dma_map_single(ctrl->lport->dev, in __nvme_fc_init_request()
2119 if (fc_dma_mapping_error(ctrl->lport->dev, op->fcp_req.cmddma)) { in __nvme_fc_init_request()
2126 op->fcp_req.rspdma = fc_dma_map_single(ctrl->lport->dev, in __nvme_fc_init_request()
2129 if (fc_dma_mapping_error(ctrl->lport->dev, op->fcp_req.rspdma)) { in __nvme_fc_init_request()
2153 op->op.fcp_req.first_sgl = op->sgl; in nvme_fc_init_request()
2154 op->op.fcp_req.private = &op->priv[0]; in nvme_fc_init_request()
2189 aen_op->fcp_req.private = private; in nvme_fc_init_aen_ops()
2210 kfree(aen_op->fcp_req.private); in nvme_fc_term_aen_ops()
2211 aen_op->fcp_req.private = NULL; in nvme_fc_term_aen_ops()
2599 struct nvmefc_fcp_req *freq = &op->fcp_req; in nvme_fc_map_data()
2634 struct nvmefc_fcp_req *freq = &op->fcp_req; in nvme_fc_unmap_data()
2703 op->fcp_req.payload_length = data_len; in nvme_fc_start_fcp_op()
2704 op->fcp_req.io_dir = io_dir; in nvme_fc_start_fcp_op()
2705 op->fcp_req.transferred_length = 0; in nvme_fc_start_fcp_op()
2706 op->fcp_req.rcv_rsplen = 0; in nvme_fc_start_fcp_op()
2707 op->fcp_req.status = NVME_SC_SUCCESS; in nvme_fc_start_fcp_op()
2708 op->fcp_req.sqid = cpu_to_le16(queue->qnum); in nvme_fc_start_fcp_op()
2740 fc_dma_sync_single_for_device(ctrl->lport->dev, op->fcp_req.cmddma, in nvme_fc_start_fcp_op()
2751 queue->lldd_handle, &op->fcp_req); in nvme_fc_start_fcp_op()