Searched refs:lsreq (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/nvme/host/ |
D | fc.h | 162 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()
|
D | fc.c | 202 ls_req_to_lsop(struct nvmefc_ls_req *lsreq) in ls_req_to_lsop() argument 204 return container_of(lsreq, struct nvmefc_ls_req_op, ls_req); in ls_req_to_lsop() 1034 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvme_fc_finish_ls_req() local 1050 fc_dma_unmap_single(rport->dev, lsreq->rqstdma, in __nvme_fc_finish_ls_req() 1051 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_finish_ls_req() 1062 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvme_fc_send_ls_req() local 1072 lsreq->done = done; in __nvme_fc_send_ls_req() 1078 lsreq->rqstdma = fc_dma_map_single(rport->dev, lsreq->rqstaddr, in __nvme_fc_send_ls_req() 1079 lsreq->rqstlen + lsreq->rsplen, in __nvme_fc_send_ls_req() 1081 if (fc_dma_mapping_error(rport->dev, lsreq->rqstdma)) { in __nvme_fc_send_ls_req() [all …]
|
/linux-6.6.21/drivers/nvme/target/ |
D | fcloop.c | 250 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 …]
|
D | fc.c | 364 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvmet_fc_finish_ls_req() local 380 fc_dma_unmap_single(tgtport->dev, lsreq->rqstdma, in __nvmet_fc_finish_ls_req() 381 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_finish_ls_req() 393 struct nvmefc_ls_req *lsreq = &lsop->ls_req; in __nvmet_fc_send_ls_req() local 403 lsreq->done = done; in __nvmet_fc_send_ls_req() 407 lsreq->rqstdma = fc_dma_map_single(tgtport->dev, lsreq->rqstaddr, in __nvmet_fc_send_ls_req() 408 lsreq->rqstlen + lsreq->rsplen, in __nvmet_fc_send_ls_req() 410 if (fc_dma_mapping_error(tgtport->dev, lsreq->rqstdma)) { in __nvmet_fc_send_ls_req() 414 lsreq->rspdma = lsreq->rqstdma + lsreq->rqstlen; in __nvmet_fc_send_ls_req() 425 lsreq); in __nvmet_fc_send_ls_req() [all …]
|
/linux-6.6.21/include/linux/ |
D | nvme-fc-driver.h | 974 void *hosthandle, struct nvmefc_ls_req *lsreq); 976 void *hosthandle, struct nvmefc_ls_req *lsreq);
|