/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | fcloop.c | 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() 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() 376 fcloop_h2t_xmt_ls_rsp(struct nvmet_fc_target_port *targetport, struct nvmefc_ls_rsp *lsrsp) fcloop_h2t_xmt_ls_rsp() argument 463 fcloop_t2h_xmt_ls_rsp(struct nvme_fc_local_port *localport, struct nvme_fc_remote_port *remoteport, struct nvmefc_ls_rsp *lsrsp) fcloop_t2h_xmt_ls_rsp() argument [all...] |
H A D | fc.c | 29 struct nvmefc_ls_rsp *lsrsp; member 1689 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_association() 1706 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association() 1782 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_connection() 1797 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_connection() 1844 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_disconnect() 1855 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_disconnect() 1887 oldls->lsrsp->rsplen = nvme_fc_format_rjt(oldls->rspbuf, in nvmet_fc_ls_disconnect() 1908 nvmet_fc_xmt_ls_rsp_done(struct nvmefc_ls_rsp *lsrsp) in nvmet_fc_xmt_ls_rsp_done() argument 1910 struct nvmet_fc_ls_iod *iod = lsrsp in nvmet_fc_xmt_ls_rsp_done() 2012 nvmet_fc_rcv_ls_req(struct nvmet_fc_target_port *target_port, void *hosthandle, struct nvmefc_ls_rsp *lsrsp, void *lsreqbuf, u32 lsreqbuf_len) nvmet_fc_rcv_ls_req() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | fcloop.c | 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() 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() 376 fcloop_h2t_xmt_ls_rsp(struct nvmet_fc_target_port *targetport, struct nvmefc_ls_rsp *lsrsp) fcloop_h2t_xmt_ls_rsp() argument 463 fcloop_t2h_xmt_ls_rsp(struct nvme_fc_local_port *localport, struct nvme_fc_remote_port *remoteport, struct nvmefc_ls_rsp *lsrsp) fcloop_t2h_xmt_ls_rsp() argument [all...] |
H A D | fc.c | 29 struct nvmefc_ls_rsp *lsrsp; member 1713 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_association() 1730 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association() 1806 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_connection() 1821 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_connection() 1868 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_disconnect() 1879 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_disconnect() 1906 oldls->lsrsp->rsplen = nvme_fc_format_rjt(oldls->rspbuf, in nvmet_fc_ls_disconnect() 1930 nvmet_fc_xmt_ls_rsp_done(struct nvmefc_ls_rsp *lsrsp) in nvmet_fc_xmt_ls_rsp_done() argument 1932 struct nvmet_fc_ls_iod *iod = lsrsp in nvmet_fc_xmt_ls_rsp_done() 2035 nvmet_fc_rcv_ls_req(struct nvmet_fc_target_port *target_port, void *hosthandle, struct nvmefc_ls_rsp *lsrsp, void *lsreqbuf, u32 lsreqbuf_len) nvmet_fc_rcv_ls_req() argument [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | fc.c | 71 struct nvmefc_ls_rsp *lsrsp; member 1461 nvme_fc_xmt_ls_rsp_done(struct nvmefc_ls_rsp *lsrsp) in nvme_fc_xmt_ls_rsp_done() argument 1463 struct nvmefc_ls_rcv_op *lsop = lsrsp->nvme_fc_private; in nvme_fc_xmt_ls_rsp_done() 1494 lsop->lsrsp); in nvme_fc_xmt_ls_rsp() 1499 nvme_fc_xmt_ls_rsp_done(lsop->lsrsp); in nvme_fc_xmt_ls_rsp() 1541 oldls->lsrsp->rsplen = nvme_fc_format_rjt(oldls->rspbuf, in nvme_fc_match_disconn_ls() 1582 lsop->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvme_fc_ls_disconnect_assoc() 1593 lsop->lsrsp->rsplen = sizeof(*acc); in nvme_fc_ls_disconnect_assoc() 1626 lsop->lsrsp->nvme_fc_private = lsop; in nvme_fc_handle_ls_rqst() 1627 lsop->lsrsp in nvme_fc_handle_ls_rqst() 1721 nvme_fc_rcv_ls_req(struct nvme_fc_remote_port *portptr, struct nvmefc_ls_rsp *lsrsp, void *lsreqbuf, u32 lsreqbuf_len) nvme_fc_rcv_ls_req() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | fc.c | 72 struct nvmefc_ls_rsp *lsrsp; member 1455 nvme_fc_xmt_ls_rsp_done(struct nvmefc_ls_rsp *lsrsp) in nvme_fc_xmt_ls_rsp_done() argument 1457 struct nvmefc_ls_rcv_op *lsop = lsrsp->nvme_fc_private; in nvme_fc_xmt_ls_rsp_done() 1490 lsop->lsrsp); in nvme_fc_xmt_ls_rsp() 1495 nvme_fc_xmt_ls_rsp_done(lsop->lsrsp); in nvme_fc_xmt_ls_rsp() 1537 oldls->lsrsp->rsplen = nvme_fc_format_rjt(oldls->rspbuf, in nvme_fc_match_disconn_ls() 1578 lsop->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvme_fc_ls_disconnect_assoc() 1589 lsop->lsrsp->rsplen = sizeof(*acc); in nvme_fc_ls_disconnect_assoc() 1622 lsop->lsrsp->nvme_fc_private = lsop; in nvme_fc_handle_ls_rqst() 1623 lsop->lsrsp in nvme_fc_handle_ls_rqst() 1726 nvme_fc_rcv_ls_req(struct nvme_fc_remote_port *portptr, struct nvmefc_ls_rsp *lsrsp, void *lsreqbuf, u32 lsreqbuf_len) nvme_fc_rcv_ls_req() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | nvme-fc-driver.h | 554 * the lsrsp structure, the transport will still call xmt_ls_rsp() 555 * afterward to cleanup the outstanding lsrsp structure. The LLDD should 556 * noop the transmission of the rsp and call the lsrsp->done() routine 557 * to allow the lsrsp structure to be released. 560 struct nvmefc_ls_rsp *lsrsp, 1001 * the lsrsp structure, the transport will still call xmt_ls_rsp() 1002 * afterward to cleanup the outstanding lsrsp structure. The LLDD should 1003 * noop the transmission of the rsp and call the lsrsp->done() routine 1004 * to allow the lsrsp structure to be released.
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | nvme-fc-driver.h | 557 * the lsrsp structure, the transport will still call xmt_ls_rsp() 558 * afterward to cleanup the outstanding lsrsp structure. The LLDD should 559 * noop the transmission of the rsp and call the lsrsp->done() routine 560 * to allow the lsrsp structure to be released. 563 struct nvmefc_ls_rsp *lsrsp, 1017 * the lsrsp structure, the transport will still call xmt_ls_rsp() 1018 * afterward to cleanup the outstanding lsrsp structure. The LLDD should 1019 * noop the transmission of the rsp and call the lsrsp->done() routine 1020 * to allow the lsrsp structure to be released.
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 25 struct nvmefc_ls_rsp lsrsp; member 365 struct qla_nvme_unsol_ctx, lsrsp); in qla_nvme_xmt_ls_rsp() 1187 ret = nvme_fc_rcv_ls_req(uctx->fcport->nvme_remote_port, &uctx->lsrsp, in qla2xxx_process_purls_pkt()
|