Lines Matching refs:lsrsp
291 ls_rsp_to_lsreq(struct nvmefc_ls_rsp *lsrsp) in ls_rsp_to_lsreq() argument
293 return container_of(lsrsp, struct fcloop_lsreq, ls_rsp); in ls_rsp_to_lsreq()
377 struct nvmefc_ls_rsp *lsrsp) in fcloop_h2t_xmt_ls_rsp() argument
379 struct fcloop_lsreq *tls_req = ls_rsp_to_lsreq(lsrsp); in fcloop_h2t_xmt_ls_rsp()
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()
389 lsrsp->done(lsrsp); in fcloop_h2t_xmt_ls_rsp()
465 struct nvmefc_ls_rsp *lsrsp) in fcloop_t2h_xmt_ls_rsp() argument
467 struct fcloop_lsreq *tls_req = ls_rsp_to_lsreq(lsrsp); in fcloop_t2h_xmt_ls_rsp()
473 memcpy(lsreq->rspaddr, lsrsp->rspbuf, in fcloop_t2h_xmt_ls_rsp()
474 ((lsreq->rsplen < lsrsp->rsplen) ? in fcloop_t2h_xmt_ls_rsp()
475 lsreq->rsplen : lsrsp->rsplen)); in fcloop_t2h_xmt_ls_rsp()
476 lsrsp->done(lsrsp); in fcloop_t2h_xmt_ls_rsp()