fcpreq            189 drivers/nvme/host/fc.c fcp_req_to_fcp_op(struct nvmefc_fcp_req *fcpreq)
fcpreq            191 drivers/nvme/host/fc.c 	return container_of(fcpreq, struct nvme_fc_fcp_op, fcp_req);
fcpreq             32 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req	*fcpreq;	/* only if RS */
fcpreq             60 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req	*fcpreq;
fcpreq            430 drivers/nvme/target/fc.c 		fod->fcpreq = NULL;
fcpreq            490 drivers/nvme/target/fc.c 		       struct nvmefc_tgt_fcp_req *fcpreq)
fcpreq            492 drivers/nvme/target/fc.c 	struct nvmet_fc_fcp_iod *fod = fcpreq->nvmet_fc_private;
fcpreq            498 drivers/nvme/target/fc.c 	fcpreq->hwqid = queue->qid ?
fcpreq            511 drivers/nvme/target/fc.c 	nvmet_fc_queue_fcp_req(fod->tgtport, fod->queue, fod->fcpreq);
fcpreq            519 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req *fcpreq = fod->fcpreq;
fcpreq            527 drivers/nvme/target/fc.c 	fcpreq->nvmet_fc_private = NULL;
fcpreq            533 drivers/nvme/target/fc.c 	fod->fcpreq = NULL;
fcpreq            535 drivers/nvme/target/fc.c 	tgtport->ops->fcp_req_release(&tgtport->fc_target_port, fcpreq);
fcpreq            552 drivers/nvme/target/fc.c 	fcpreq = deferfcp->fcp_req;
fcpreq            560 drivers/nvme/target/fc.c 	memcpy(&fod->cmdiubuf, fcpreq->rspaddr, fcpreq->rsplen);
fcpreq            563 drivers/nvme/target/fc.c 	fcpreq->rspaddr = NULL;
fcpreq            564 drivers/nvme/target/fc.c 	fcpreq->rsplen  = 0;
fcpreq            565 drivers/nvme/target/fc.c 	fcpreq->nvmet_fc_private = fod;
fcpreq            566 drivers/nvme/target/fc.c 	fod->fcpreq = fcpreq;
fcpreq            570 drivers/nvme/target/fc.c 	tgtport->ops->defer_rcv(&tgtport->fc_target_port, fcpreq);
fcpreq            704 drivers/nvme/target/fc.c 					&tgtport->fc_target_port, fod->fcpreq);
fcpreq           1700 drivers/nvme/target/fc.c 	iod->fcpreq = NULL;
fcpreq           1783 drivers/nvme/target/fc.c 	if (fod->fcpreq->op == NVMET_FCOP_READDATA_RSP)
fcpreq           1817 drivers/nvme/target/fc.c 	fod->fcpreq->rspaddr = ersp;
fcpreq           1818 drivers/nvme/target/fc.c 	fod->fcpreq->rspdma = fod->rspdma;
fcpreq           1822 drivers/nvme/target/fc.c 		fod->fcpreq->rsplen = NVME_FC_SIZEOF_ZEROS_RSP;
fcpreq           1828 drivers/nvme/target/fc.c 		fod->fcpreq->rsplen = sizeof(*ersp);
fcpreq           1835 drivers/nvme/target/fc.c static void nvmet_fc_xmt_fcp_op_done(struct nvmefc_tgt_fcp_req *fcpreq);
fcpreq           1841 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req *fcpreq = fod->fcpreq;
fcpreq           1852 drivers/nvme/target/fc.c 		tgtport->ops->fcp_abort(&tgtport->fc_target_port, fcpreq);
fcpreq           1863 drivers/nvme/target/fc.c 	fod->fcpreq->op = NVMET_FCOP_RSP;
fcpreq           1864 drivers/nvme/target/fc.c 	fod->fcpreq->timeout = 0;
fcpreq           1868 drivers/nvme/target/fc.c 	ret = tgtport->ops->fcp_op(&tgtport->fc_target_port, fod->fcpreq);
fcpreq           1877 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req *fcpreq = fod->fcpreq;
fcpreq           1884 drivers/nvme/target/fc.c 	fcpreq->op = op;
fcpreq           1885 drivers/nvme/target/fc.c 	fcpreq->offset = fod->offset;
fcpreq           1886 drivers/nvme/target/fc.c 	fcpreq->timeout = NVME_FC_TGTOP_TIMEOUT_SEC;
fcpreq           1897 drivers/nvme/target/fc.c 	fcpreq->sg = sg;
fcpreq           1898 drivers/nvme/target/fc.c 	fcpreq->sg_cnt = 0;
fcpreq           1900 drivers/nvme/target/fc.c 	       fcpreq->sg_cnt < tgtport->max_sg_cnt &&
fcpreq           1902 drivers/nvme/target/fc.c 		fcpreq->sg_cnt++;
fcpreq           1906 drivers/nvme/target/fc.c 	if (tlen < remaininglen && fcpreq->sg_cnt == 0) {
fcpreq           1907 drivers/nvme/target/fc.c 		fcpreq->sg_cnt++;
fcpreq           1916 drivers/nvme/target/fc.c 	fcpreq->transfer_length = tlen;
fcpreq           1917 drivers/nvme/target/fc.c 	fcpreq->transferred_length = 0;
fcpreq           1918 drivers/nvme/target/fc.c 	fcpreq->fcp_error = 0;
fcpreq           1919 drivers/nvme/target/fc.c 	fcpreq->rsplen = 0;
fcpreq           1926 drivers/nvme/target/fc.c 	    ((fod->offset + fcpreq->transfer_length) == fod->req.transfer_len) &&
fcpreq           1928 drivers/nvme/target/fc.c 		fcpreq->op = NVMET_FCOP_READDATA_RSP;
fcpreq           1932 drivers/nvme/target/fc.c 	ret = tgtport->ops->fcp_op(&tgtport->fc_target_port, fod->fcpreq);
fcpreq           1947 drivers/nvme/target/fc.c 			fcpreq->fcp_error = ret;
fcpreq           1948 drivers/nvme/target/fc.c 			fcpreq->transferred_length = 0;
fcpreq           1949 drivers/nvme/target/fc.c 			nvmet_fc_xmt_fcp_op_done(fod->fcpreq);
fcpreq           1957 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req *fcpreq = fod->fcpreq;
fcpreq           1962 drivers/nvme/target/fc.c 		if (fcpreq->op == NVMET_FCOP_WRITEDATA) {
fcpreq           1980 drivers/nvme/target/fc.c 	struct nvmefc_tgt_fcp_req *fcpreq = fod->fcpreq;
fcpreq           1990 drivers/nvme/target/fc.c 	switch (fcpreq->op) {
fcpreq           1995 drivers/nvme/target/fc.c 		if (fcpreq->fcp_error ||
fcpreq           1996 drivers/nvme/target/fc.c 		    fcpreq->transferred_length != fcpreq->transfer_length) {
fcpreq           2005 drivers/nvme/target/fc.c 		fod->offset += fcpreq->transferred_length;
fcpreq           2025 drivers/nvme/target/fc.c 		if (fcpreq->fcp_error ||
fcpreq           2026 drivers/nvme/target/fc.c 		    fcpreq->transferred_length != fcpreq->transfer_length) {
fcpreq           2033 drivers/nvme/target/fc.c 		if (fcpreq->op == NVMET_FCOP_READDATA_RSP) {
fcpreq           2040 drivers/nvme/target/fc.c 		fod->offset += fcpreq->transferred_length;
fcpreq           2069 drivers/nvme/target/fc.c nvmet_fc_xmt_fcp_op_done(struct nvmefc_tgt_fcp_req *fcpreq)
fcpreq           2071 drivers/nvme/target/fc.c 	struct nvmet_fc_fcp_iod *fod = fcpreq->nvmet_fc_private;
fcpreq           2170 drivers/nvme/target/fc.c 	fod->fcpreq->done = nvmet_fc_xmt_fcp_op_done;
fcpreq           2290 drivers/nvme/target/fc.c 			struct nvmefc_tgt_fcp_req *fcpreq,
fcpreq           2325 drivers/nvme/target/fc.c 		fcpreq->nvmet_fc_private = fod;
fcpreq           2326 drivers/nvme/target/fc.c 		fod->fcpreq = fcpreq;
fcpreq           2330 drivers/nvme/target/fc.c 		nvmet_fc_queue_fcp_req(tgtport, queue, fcpreq);
fcpreq           2361 drivers/nvme/target/fc.c 	fcpreq->rspaddr = cmdiubuf;
fcpreq           2362 drivers/nvme/target/fc.c 	fcpreq->rsplen  = cmdiubuf_len;
fcpreq           2363 drivers/nvme/target/fc.c 	deferfcp->fcp_req = fcpreq;
fcpreq           2401 drivers/nvme/target/fc.c 			struct nvmefc_tgt_fcp_req *fcpreq)
fcpreq           2403 drivers/nvme/target/fc.c 	struct nvmet_fc_fcp_iod *fod = fcpreq->nvmet_fc_private;
fcpreq           2407 drivers/nvme/target/fc.c 	if (!fod || fod->fcpreq != fcpreq)
fcpreq            248 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req		*fcpreq;
fcpreq            262 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req		*fcpreq;
fcpreq            409 drivers/nvme/target/fcloop.c fcloop_call_host_done(struct nvmefc_fcp_req *fcpreq,
fcpreq            414 drivers/nvme/target/fcloop.c 	if (fcpreq) {
fcpreq            415 drivers/nvme/target/fcloop.c 		inireq = fcpreq->private;
fcpreq            420 drivers/nvme/target/fcloop.c 		fcpreq->status = status;
fcpreq            421 drivers/nvme/target/fcloop.c 		fcpreq->done(fcpreq);
fcpreq            433 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req *fcpreq = tfcp_req->fcpreq;
fcpreq            457 drivers/nvme/target/fcloop.c 				fcpreq->cmdaddr, fcpreq->cmdlen);
fcpreq            459 drivers/nvme/target/fcloop.c 		fcloop_call_host_done(fcpreq, tfcp_req, ret);
fcpreq            469 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req *fcpreq;
fcpreq            473 drivers/nvme/target/fcloop.c 	fcpreq = tfcp_req->fcpreq;
fcpreq            498 drivers/nvme/target/fcloop.c 	tfcp_req->fcpreq = NULL;
fcpreq            501 drivers/nvme/target/fcloop.c 	fcloop_call_host_done(fcpreq, tfcp_req, -ECANCELED);
fcpreq            514 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req *fcpreq;
fcpreq            517 drivers/nvme/target/fcloop.c 	fcpreq = tfcp_req->fcpreq;
fcpreq            521 drivers/nvme/target/fcloop.c 	fcloop_call_host_done(fcpreq, tfcp_req, tfcp_req->status);
fcpreq            529 drivers/nvme/target/fcloop.c 			struct nvmefc_fcp_req *fcpreq)
fcpreq            532 drivers/nvme/target/fcloop.c 	struct fcloop_ini_fcpreq *inireq = fcpreq->private;
fcpreq            542 drivers/nvme/target/fcloop.c 	inireq->fcpreq = fcpreq;
fcpreq            546 drivers/nvme/target/fcloop.c 	tfcp_req->fcpreq = fcpreq;
fcpreq            619 drivers/nvme/target/fcloop.c 	struct nvmefc_fcp_req *fcpreq;
fcpreq            625 drivers/nvme/target/fcloop.c 	fcpreq = tfcp_req->fcpreq;
fcpreq            655 drivers/nvme/target/fcloop.c 		if (fcpreq) {
fcpreq            657 drivers/nvme/target/fcloop.c 					fcpreq->first_sgl, tgt_fcpreq->offset,
fcpreq            659 drivers/nvme/target/fcloop.c 			fcpreq->transferred_length += xfrlen;
fcpreq            666 drivers/nvme/target/fcloop.c 		if (fcpreq) {
fcpreq            668 drivers/nvme/target/fcloop.c 					fcpreq->first_sgl, tgt_fcpreq->offset,
fcpreq            670 drivers/nvme/target/fcloop.c 			fcpreq->transferred_length += xfrlen;
fcpreq            679 drivers/nvme/target/fcloop.c 		if (fcpreq) {
fcpreq            680 drivers/nvme/target/fcloop.c 			rsplen = ((fcpreq->rsplen < tgt_fcpreq->rsplen) ?
fcpreq            681 drivers/nvme/target/fcloop.c 					fcpreq->rsplen : tgt_fcpreq->rsplen);
fcpreq            682 drivers/nvme/target/fcloop.c 			memcpy(fcpreq->rspaddr, tgt_fcpreq->rspaddr, rsplen);
fcpreq            685 drivers/nvme/target/fcloop.c 			fcpreq->rcv_rsplen = rsplen;
fcpreq            686 drivers/nvme/target/fcloop.c 			fcpreq->status = 0;
fcpreq            751 drivers/nvme/target/fcloop.c 			struct nvmefc_fcp_req *fcpreq)
fcpreq            753 drivers/nvme/target/fcloop.c 	struct fcloop_ini_fcpreq *inireq = fcpreq->private;
fcpreq            835 include/linux/nvme-fc-driver.h 				struct nvmefc_tgt_fcp_req *fcpreq);
fcpreq            837 include/linux/nvme-fc-driver.h 				struct nvmefc_tgt_fcp_req *fcpreq);
fcpreq            839 include/linux/nvme-fc-driver.h 				struct nvmefc_tgt_fcp_req *fcpreq);
fcpreq            841 include/linux/nvme-fc-driver.h 				struct nvmefc_tgt_fcp_req *fcpreq);
fcpreq            867 include/linux/nvme-fc-driver.h 			struct nvmefc_tgt_fcp_req *fcpreq,
fcpreq            871 include/linux/nvme-fc-driver.h 			struct nvmefc_tgt_fcp_req *fcpreq);