Lines Matching refs:sges_left
1318 int sges_left; in _base_build_sg_scmd_ieee() local
1336 sges_left = scsi_dma_map(scmd); in _base_build_sg_scmd_ieee()
1337 if (!sges_left) { in _base_build_sg_scmd_ieee()
1347 if (sges_left <= sges_in_segment) in _base_build_sg_scmd_ieee()
1359 sges_left--; in _base_build_sg_scmd_ieee()
1370 sges_in_segment = (sges_left <= in _base_build_sg_scmd_ieee()
1371 ioc->max_sges_in_chain_message) ? sges_left : in _base_build_sg_scmd_ieee()
1373 chain_offset = (sges_left == sges_in_segment) ? in _base_build_sg_scmd_ieee()
1391 sges_left--; in _base_build_sg_scmd_ieee()
1406 while (sges_left) { in _base_build_sg_scmd_ieee()
1407 if (sges_left == 1) in _base_build_sg_scmd_ieee()
1416 sges_left--; in _base_build_sg_scmd_ieee()