Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_fcp.c856 struct fcp_resp *fc_rp; in fc_fcp_resp() local
867 if (unlikely(plen < sizeof(*fh) + sizeof(*fc_rp))) in fc_fcp_resp()
870 fc_rp = (struct fcp_resp *)(fh + 1); in fc_fcp_resp()
871 fsp->cdb_status = fc_rp->fr_status; in fc_fcp_resp()
872 flags = fc_rp->fr_flags; in fc_fcp_resp()
879 if (unlikely((flags & ~FCP_CONF_REQ) || fc_rp->fr_status)) { in fc_fcp_resp()
880 rp_ex = (void *)(fc_rp + 1); in fc_fcp_resp()
882 if (plen < sizeof(*fc_rp) + sizeof(*rp_ex)) in fc_fcp_resp()
910 if (plen < sizeof(*fc_rp) + sizeof(rp_ex->fr_resid)) in fc_fcp_resp()
923 (fc_rp->fr_status == 0) && in fc_fcp_resp()