Searched refs:sges_left (Results 1 – 2 of 2) sorted by relevance
2298 int sges_left; in _base_check_pcie_native_sgl() local2301 sges_left = scsi_dma_map(scmd); in _base_check_pcie_native_sgl()2302 if (sges_left < 0) { in _base_check_pcie_native_sgl()2311 scmd, sges_left) == 0) { in _base_check_pcie_native_sgl()2320 smid, sges_left); in _base_check_pcie_native_sgl()2392 int sges_left; in _base_build_sg_scmd() local2413 sges_left = scsi_dma_map(scmd); in _base_build_sg_scmd()2414 if (sges_left < 0) { in _base_build_sg_scmd()2423 if (sges_left <= sges_in_segment) in _base_build_sg_scmd()2440 sges_left--; in _base_build_sg_scmd()[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()