/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | fcloop.c | 386 ((lsreq->rsplen < lsrsp->rsplen) ? in fcloop_h2t_xmt_ls_rsp() 387 lsreq->rsplen : lsrsp->rsplen)); in fcloop_h2t_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() 762 u32 rsplen = 0, xfrlen = 0; in fcloop_fcp_op() local 823 rsplen in fcloop_fcp_op() [all...] |
H A D | fc.c | 370 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_finish_ls_req() 396 lsreq->rqstlen + lsreq->rsplen, in __nvmet_fc_send_ls_req() 426 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_send_ls_req() 768 memcpy(&fod->cmdiubuf, fcpreq->rspaddr, fcpreq->rsplen); in nvmet_fc_free_fcp_iod() 772 fcpreq->rsplen = 0; in nvmet_fc_free_fcp_iod() 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 in nvmet_fc_ls_disconnect() [all...] |
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | fcloop.c | 386 ((lsreq->rsplen < lsrsp->rsplen) ? in fcloop_h2t_xmt_ls_rsp() 387 lsreq->rsplen : lsrsp->rsplen)); in fcloop_h2t_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() 808 u32 rsplen = 0, xfrlen = 0; in fcloop_fcp_op() local 869 rsplen in fcloop_fcp_op() [all...] |
H A D | fc.c | 381 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_finish_ls_req() 408 lsreq->rqstlen + lsreq->rsplen, in __nvmet_fc_send_ls_req() 438 (lsreq->rqstlen + lsreq->rsplen), in __nvmet_fc_send_ls_req() 780 memcpy(&fod->cmdiubuf, fcpreq->rspaddr, fcpreq->rsplen); in nvmet_fc_free_fcp_iod() 784 fcpreq->rsplen = 0; in nvmet_fc_free_fcp_iod() 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 in nvmet_fc_ls_disconnect() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | nvme-fc-driver.h | 38 * @rsplen: Length, in bytes, of response buffer 58 u32 rsplen; member 111 * @rsplen: Length, in bytes, of the LS response buffer 122 u16 rsplen; member 181 * @rsplen: Length, in bytes, of the FCP RSP IU buffer 213 u16 rsplen; member 663 * @rsplen: Length, in bytes, of the FCP RSP IU buffer 691 u16 rsplen; member 808 * FCP_RSP iu payload (described by rspbuf, rspdma, rsplen). 817 * (described by rspbuf, rspdma, rsplen) [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | nvme-fc-driver.h | 39 * @rsplen: Length, in bytes, of response buffer 59 u32 rsplen; member 112 * @rsplen: Length, in bytes, of the LS response buffer 123 u16 rsplen; member 182 * @rsplen: Length, in bytes, of the FCP RSP IU buffer 214 u16 rsplen; member 675 * @rsplen: Length, in bytes, of the FCP RSP IU buffer 703 u16 rsplen; member 824 * FCP_RSP iu payload (described by rspbuf, rspdma, rsplen). 833 * (described by rspbuf, rspdma, rsplen) [all...] |
/kernel/linux/linux-5.10/drivers/nvme/host/ |
H A D | fc.h | 170 lsreq->rsplen = sizeof(*discon_acc); in nvmefc_fmt_lsreq_discon_assoc()
|
H A D | fc.c | 1057 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_finish_ls_req() 1085 lsreq->rqstlen + lsreq->rsplen, in __nvme_fc_send_ls_req() 1115 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_send_ls_req() 1229 lsreq->rsplen = sizeof(*assoc_acc); in nvme_fc_connect_admin_queue() 1344 lsreq->rsplen = sizeof(*conn_acc); in nvme_fc_connect_queue() 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() 1631 lsop->lsrsp->rsplen = 0; in nvme_fc_handle_ls_rqst() 1643 lsop->lsrsp->rsplen in nvme_fc_handle_ls_rqst() [all...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | fc.h | 170 lsreq->rsplen = sizeof(*discon_acc); in nvmefc_fmt_lsreq_discon_assoc()
|
H A D | fc.c | 1051 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_finish_ls_req() 1079 lsreq->rqstlen + lsreq->rsplen, in __nvme_fc_send_ls_req() 1109 (lsreq->rqstlen + lsreq->rsplen), in __nvme_fc_send_ls_req() 1223 lsreq->rsplen = sizeof(*assoc_acc); in nvme_fc_connect_admin_queue() 1338 lsreq->rsplen = sizeof(*conn_acc); in nvme_fc_connect_queue() 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() 1627 lsop->lsrsp->rsplen = 0; in nvme_fc_handle_ls_rqst() 1639 lsop->lsrsp->rsplen in nvme_fc_handle_ls_rqst() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc/ |
H A D | efc_els.h | 35 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen);
|
H A D | efc_els.c | 41 efc_els_io_alloc_size(struct efc_node *node, u32 reqlen, u32 rsplen) in efc_els_io_alloc_size() argument 76 els->io.rsp.size = rsplen; in efc_els_io_alloc_size() 353 efc_els_send_rsp(struct efc_els_io_req *els, u32 rsplen) in efc_els_send_rsp() argument 367 els->io.xmit_len = rsplen; in efc_els_send_rsp()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_nvmet.c | 777 rsp->transferred_length = rsp->rsplen; in lpfc_nvmet_xmt_fcp_op_cmp() 892 ls_rsp->rsplen); in __lpfc_nvme_xmt_ls_rsp() 908 bpl.tus.f.bdeSize = ls_rsp->rsplen; in __lpfc_nvme_xmt_ls_rsp() 922 axchg->oxid, nvmewqeq->hba_wqidx, ls_rsp->rsplen); in __lpfc_nvme_xmt_ls_rsp() 1083 ctxp->oxid, rsp->op, rsp->rsplen); in lpfc_nvmet_xmt_fcp_op() 2842 if (rsp->rsplen == LPFC_NVMET_SUCCESS_LEN) { in lpfc_nvmet_prep_fcp_wqe() 2850 ((rsp->rsplen >> 2) - 1)); in lpfc_nvmet_prep_fcp_wqe() 2852 rsp->rsplen); in lpfc_nvmet_prep_fcp_wqe() 2934 wqe->fcp_trsp.bde.tus.f.bdeSize = rsp->rsplen; in lpfc_nvmet_prep_fcp_wqe() 2941 wqe->fcp_trsp.response_len = rsp->rsplen; in lpfc_nvmet_prep_fcp_wqe() [all...] |
H A D | lpfc_nvme.c | 764 bpl->tus.f.bdeSize = pnvme_lsreq->rsplen; in __lpfc_nvme_ls_req() 769 "rqstlen:%d rsplen:%d %pad %pad\n", in __lpfc_nvme_ls_req() 771 pnvme_lsreq->rsplen, &pnvme_lsreq->rqstdma, in __lpfc_nvme_ls_req() 865 "x%p rqstlen:%d rsplen:%d %pad %pad\n", in __lpfc_nvme_ls_abort() 867 pnvme_lsreq->rsplen, &pnvme_lsreq->rqstdma, in __lpfc_nvme_ls_abort() 1060 sgl->sge_len = cpu_to_le32(nCmd->rsplen); in lpfc_nvme_adj_fcp_sgls() 1390 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
|
H A D | lpfc_scsi.c | 3620 uint32_t rsplen = 0; in lpfc_handle_fcp_err() local 3636 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err() 3637 if (rsplen != 0 && rsplen != 4 && rsplen != 8) { in lpfc_handle_fcp_err() 3640 "tgt x%x lun x%llx cmnd x%x rsplen " in lpfc_handle_fcp_err() 3643 rsplen); in lpfc_handle_fcp_err() 3666 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err() 3667 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()
|
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_nvmet.c | 779 rsp->transferred_length = rsp->rsplen; in lpfc_nvmet_xmt_fcp_op_cmp() 892 ls_rsp->rsplen); in __lpfc_nvme_xmt_ls_rsp() 908 bpl.tus.f.bdeSize = ls_rsp->rsplen; in __lpfc_nvme_xmt_ls_rsp() 921 axchg->oxid, nvmewqeq->hba_wqidx, ls_rsp->rsplen); in __lpfc_nvme_xmt_ls_rsp() 1081 ctxp->oxid, rsp->op, rsp->rsplen); in lpfc_nvmet_xmt_fcp_op() 2843 if (rsp->rsplen == LPFC_NVMET_SUCCESS_LEN) { in lpfc_nvmet_prep_fcp_wqe() 2851 ((rsp->rsplen >> 2) - 1)); in lpfc_nvmet_prep_fcp_wqe() 2853 rsp->rsplen); in lpfc_nvmet_prep_fcp_wqe() 2936 wqe->fcp_trsp.bde.tus.f.bdeSize = rsp->rsplen; in lpfc_nvmet_prep_fcp_wqe() 2943 wqe->fcp_trsp.response_len = rsp->rsplen; in lpfc_nvmet_prep_fcp_wqe() [all...] |
H A D | lpfc_nvme.c | 622 bpl->tus.f.bdeSize = pnvme_lsreq->rsplen; in __lpfc_nvme_ls_req() 627 "rqstlen:%d rsplen:%d %pad %pad\n", in __lpfc_nvme_ls_req() 629 pnvme_lsreq->rsplen, &pnvme_lsreq->rqstdma, in __lpfc_nvme_ls_req() 724 "x%px rqstlen:%d rsplen:%d %pad %pad\n", in __lpfc_nvme_ls_abort() 726 pnvme_lsreq->rsplen, &pnvme_lsreq->rqstdma, in __lpfc_nvme_ls_abort() 917 sgl->sge_len = cpu_to_le32(nCmd->rsplen); in lpfc_nvme_adj_fcp_sgls() 1285 (nCmd->rsplen + nCmd->cmdlen)); in lpfc_nvme_prep_io_cmd()
|
H A D | lpfc_scsi.c | 3828 uint32_t rsplen = 0; in lpfc_handle_fcp_err() local 3844 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err() 3845 if (rsplen != 0 && rsplen != 4 && rsplen != 8) { in lpfc_handle_fcp_err() 3848 "tgt x%x lun x%llx cmnd x%x rsplen " in lpfc_handle_fcp_err() 3851 rsplen); in lpfc_handle_fcp_err() 3874 rsplen = be32_to_cpu(fcprsp->rspRspLen); in lpfc_handle_fcp_err() 3875 memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); in lpfc_handle_fcp_err()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 402 nvme->u.nvme.cmd_len = cpu_to_le32(fd_resp->rsplen); in qla_nvme_xmt_ls_rsp() 409 fd_resp->rsplen, DMA_TO_DEVICE); in qla_nvme_xmt_ls_rsp() 508 nvme->u.nvme.rsp_len = cpu_to_le32(fd->rsplen); in qla_nvme_ls_req() 681 cmd_pkt->nvme_rsp_dsd_len = cpu_to_le16(fd->rsplen); in qla2x00_start_nvme_mq()
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_nvme.c | 326 nvme->u.nvme.rsp_len = fd->rsplen; in qla_nvme_ls_req() 482 cmd_pkt->nvme_rsp_dsd_len = cpu_to_le16(fd->rsplen); in qla2x00_start_nvme_mq()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smb2pdu.c | 1011 u32 rsplen; in smb3_validate_negotiate() local 1091 (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate() 1108 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate() 1110 rsplen); in smb3_validate_negotiate() 1113 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smb2pdu.c | 1251 u32 rsplen; in smb3_validate_negotiate() local 1332 (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate() 1349 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate() 1351 rsplen); in smb3_validate_negotiate() 1354 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()
|