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()
1720 if (req->nsge > 0) { in csio_scsi_err_handler()
1748 if (req->nsge > 0) { in csio_scsi_cbfn()
1787 int nsge = 0; in csio_queuecommand() local
1809 nsge = scsi_dma_map(cmnd); in csio_queuecommand()
1810 if (unlikely(nsge < 0)) { in csio_queuecommand()
1816 if (unlikely(nsge > scsim->max_sge)) { in csio_queuecommand()
1819 " SGEs: %d, Max SGEs: %d\n", nsge, scsim->max_sge); in csio_queuecommand()
1833 ioreq->nsge = nsge; in csio_queuecommand()
1877 if (nsge > 0) in csio_queuecommand()
1978 if (ioreq->nsge > 0) in csio_eh_abort_handler()
2120 ioreq->nsge = 0; in csio_eh_lun_reset_handler()