Lines Matching refs:nsge
178 if (req->nsge) in csio_scsi_fcp_cmnd()
302 ULPTX_NSGE_V(req->nsge)); in csio_scsi_init_ultptx_dsgl()
305 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_scsi_init_ultptx_dsgl()
464 if (unlikely((req)->nsge > 1)) \
466 (ALIGN(((req)->nsge - 1), 2) / 2)); \
569 scsi_for_each_sg(scmnd, sgel, req->nsge, i) { in csio_setup_ddp()
583 if ((i != (req->nsge - 1)) && in csio_setup_ddp()
626 req->nsge = i; in csio_setup_ddp()
711 if (req->nsge) { in csio_scsis_uninit()
1716 if (req->nsge > 0) { in csio_scsi_err_handler()
1744 if (req->nsge > 0) { in csio_scsi_cbfn()
1783 int nsge = 0; in csio_queuecommand() local
1805 nsge = scsi_dma_map(cmnd); in csio_queuecommand()
1806 if (unlikely(nsge < 0)) { in csio_queuecommand()
1812 if (unlikely(nsge > scsim->max_sge)) { in csio_queuecommand()
1815 " SGEs: %d, Max SGEs: %d\n", nsge, scsim->max_sge); in csio_queuecommand()
1829 ioreq->nsge = nsge; in csio_queuecommand()
1873 if (nsge > 0) in csio_queuecommand()
1974 if (ioreq->nsge > 0) in csio_eh_abort_handler()
2116 ioreq->nsge = 0; in csio_eh_lun_reset_handler()