Home
last modified time | relevance | path

Searched refs:lsreq (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/nvme/host/
Dfc.h162 nvmefc_fmt_lsreq_discon_assoc(struct nvmefc_ls_req *lsreq, in nvmefc_fmt_lsreq_discon_assoc() argument
167 lsreq->rqstaddr = discon_rqst; in nvmefc_fmt_lsreq_discon_assoc()
168 lsreq->rqstlen = sizeof(*discon_rqst); in nvmefc_fmt_lsreq_discon_assoc()
169 lsreq->rspaddr = discon_acc; in nvmefc_fmt_lsreq_discon_assoc()
170 lsreq->rsplen = sizeof(*discon_acc); in nvmefc_fmt_lsreq_discon_assoc()
171 lsreq->timeout = NVME_FC_LS_TIMEOUT_SEC; in nvmefc_fmt_lsreq_discon_assoc()
Dfc.c200 ls_req_to_lsop(struct nvmefc_ls_req *lsreq) in ls_req_to_lsop() argument
202 return container_of(lsreq, struct nvmefc_ls_req_op, ls_req); in ls_req_to_lsop()
1039 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvme_fc_finish_ls_req() local
1055 fc_dma_unmap_single(rport->dev, lsreq->rqstdma, in __nvme_fc_finish_ls_req()
1056 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_finish_ls_req()
1067 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvme_fc_send_ls_req() local
1077 lsreq->done = done; in __nvme_fc_send_ls_req()
1083 lsreq->rqstdma = fc_dma_map_single(rport->dev, lsreq->rqstaddr, in __nvme_fc_send_ls_req()
1084 lsreq->rqstlen + lsreq->rsplen, in __nvme_fc_send_ls_req()
1086 if (fc_dma_mapping_error(rport->dev, lsreq->rqstdma)) { in __nvme_fc_send_ls_req()
[all …]
/Linux-v5.10/drivers/nvme/target/
Dfcloop.c250 struct nvmefc_ls_req *lsreq; member
335 tls_req->lsreq->done(tls_req->lsreq, tls_req->status); in fcloop_rport_lsrqst_work()
349 struct nvmefc_ls_req *lsreq) in fcloop_h2t_ls_req() argument
351 struct fcloop_lsreq *tls_req = lsreq->private; in fcloop_h2t_ls_req()
355 tls_req->lsreq = lsreq; in fcloop_h2t_ls_req()
370 lsreq->rqstaddr, lsreq->rqstlen); in fcloop_h2t_ls_req()
380 struct nvmefc_ls_req *lsreq = tls_req->lsreq; in fcloop_h2t_xmt_ls_rsp() local
385 memcpy(lsreq->rspaddr, lsrsp->rspbuf, in fcloop_h2t_xmt_ls_rsp()
386 ((lsreq->rsplen < lsrsp->rsplen) ? in fcloop_h2t_xmt_ls_rsp()
387 lsreq->rsplen : lsrsp->rsplen)); in fcloop_h2t_xmt_ls_rsp()
[all …]
Dfc.c353 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvmet_fc_finish_ls_req() local
369 fc_dma_unmap_single(tgtport->dev, lsreq->rqstdma, in __nvmet_fc_finish_ls_req()
370 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_finish_ls_req()
381 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvmet_fc_send_ls_req() local
391 lsreq->done = done; in __nvmet_fc_send_ls_req()
395 lsreq->rqstdma = fc_dma_map_single(tgtport->dev, lsreq->rqstaddr, in __nvmet_fc_send_ls_req()
396 lsreq->rqstlen + lsreq->rsplen, in __nvmet_fc_send_ls_req()
398 if (fc_dma_mapping_error(tgtport->dev, lsreq->rqstdma)) { in __nvmet_fc_send_ls_req()
402 lsreq->rspdma = lsreq->rqstdma + lsreq->rqstlen; in __nvmet_fc_send_ls_req()
413 lsreq); in __nvmet_fc_send_ls_req()
[all …]
/Linux-v5.10/include/linux/
Dnvme-fc-driver.h958 void *hosthandle, struct nvmefc_ls_req *lsreq);
960 void *hosthandle, struct nvmefc_ls_req *lsreq);