Searched refs:sges_left (Results 1 – 3 of 3) sorted by relevance
1318 int sges_left; in _base_build_sg_scmd_ieee() local1336 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()[all …]
186 int sges_left, sg_done; in mptscsih_AddSGE() local210 sges_left = scsi_dma_map(SCpnt); in mptscsih_AddSGE()211 if (sges_left < 0) in mptscsih_AddSGE()229 numSgeThisFrame = (sges_left < numSgeSlots) ? sges_left : numSgeSlots; in mptscsih_AddSGE()256 if (numSgeThisFrame == sges_left) { in mptscsih_AddSGE()341 sges_left -= sg_done; in mptscsih_AddSGE()
1062 int sges_left; in _scsih_build_scatter_gather() local1083 sges_left = scsi_dma_map(scmd); in _scsih_build_scatter_gather()1084 if (sges_left < 0) { in _scsih_build_scatter_gather()1092 if (sges_left <= sges_in_segment) in _scsih_build_scatter_gather()1109 sges_left--; in _scsih_build_scatter_gather()1121 sges_in_segment = (sges_left <= in _scsih_build_scatter_gather()1122 ioc->max_sges_in_chain_message) ? sges_left : in _scsih_build_scatter_gather()1124 chain_offset = (sges_left == sges_in_segment) ? in _scsih_build_scatter_gather()1151 sges_left--; in _scsih_build_scatter_gather()1166 while (sges_left) { in _scsih_build_scatter_gather()[all …]