Searched refs:sges_left (Results 1 – 2 of 2) sorted by relevance
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()
1007 int sges_left; in _scsih_build_scatter_gather() local1028 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()[all …]