Lines Matching refs:sges_left
1007 int sges_left; in _scsih_build_scatter_gather() local
1028 sges_left = scsi_dma_map(scmd); in _scsih_build_scatter_gather()
1029 if (sges_left < 0) { in _scsih_build_scatter_gather()
1037 if (sges_left <= sges_in_segment) in _scsih_build_scatter_gather()
1054 sges_left--; in _scsih_build_scatter_gather()
1066 sges_in_segment = (sges_left <= in _scsih_build_scatter_gather()
1067 ioc->max_sges_in_chain_message) ? sges_left : in _scsih_build_scatter_gather()
1069 chain_offset = (sges_left == sges_in_segment) ? in _scsih_build_scatter_gather()
1096 sges_left--; in _scsih_build_scatter_gather()
1111 while (sges_left) { in _scsih_build_scatter_gather()
1112 if (sges_left == 1) in _scsih_build_scatter_gather()
1120 sges_left--; in _scsih_build_scatter_gather()