Home
last modified time | relevance | path

Searched refs:rsplen (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dfcloop.c386 ((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()
759 u32 rsplen = 0, xfrlen = 0; in fcloop_fcp_op() local
819 rsplen = ((fcpreq->rsplen < tgt_fcpreq->rsplen) ? in fcloop_fcp_op()
820 fcpreq->rsplen : tgt_fcpreq->rsplen); in fcloop_fcp_op()
821 memcpy(fcpreq->rspaddr, tgt_fcpreq->rspaddr, rsplen); in fcloop_fcp_op()
822 if (rsplen < tgt_fcpreq->rsplen) in fcloop_fcp_op()
824 fcpreq->rcv_rsplen = rsplen; in fcloop_fcp_op()
H A Dfc.c370 (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()
1687 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_association()
1704 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_association()
1780 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_create_connection()
1795 iod->lsrsp->rsplen = sizeof(*acc); in nvmet_fc_ls_create_connection()
1842 iod->lsrsp->rsplen = nvme_fc_format_rjt(acc, in nvmet_fc_ls_disconnect()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dnvme-fc-driver.h58 u32 rsplen; member
122 u16 rsplen; member
213 u16 rsplen; member
691 u16 rsplen; member
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dfc.c1057 (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 = nvme_fc_format_rjt(lsop->rspbuf, in nvme_fc_handle_ls_rqst()
[all …]
H A Dfc.h170 lsreq->rsplen = sizeof(*discon_acc); in nvmefc_fmt_lsreq_discon_assoc()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_nvmet.c777 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 Dlpfc_nvme.c764 bpl->tus.f.bdeSize = pnvme_lsreq->rsplen; in __lpfc_nvme_ls_req()
771 pnvme_lsreq->rsplen, &pnvme_lsreq->rqstdma, in __lpfc_nvme_ls_req()
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 Dlpfc_scsi.c3620 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()
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()
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_nvme.c336 nvme->u.nvme.rsp_len = fd->rsplen; in qla_nvme_ls_req()
492 cmd_pkt->nvme_rsp_dsd_len = cpu_to_le16(fd->rsplen); in qla2x00_start_nvme_mq()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2pdu.c1006 u32 rsplen; in smb3_validate_negotiate() local
1086 (char **)&pneg_rsp, &rsplen); in smb3_validate_negotiate()
1103 if (rsplen != sizeof(*pneg_rsp)) { in smb3_validate_negotiate()
1105 rsplen); in smb3_validate_negotiate()
1108 if (rsplen > CIFSMaxBufSize || rsplen < sizeof(*pneg_rsp)) in smb3_validate_negotiate()