Home
last modified time | relevance | path

Searched refs:sges_left (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2298 int sges_left; in _base_check_pcie_native_sgl() local
2301 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() local
2413 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 …]
/Linux-v5.4/drivers/message/fusion/
Dmptscsih.c186 int sges_left, sg_done; in mptscsih_AddSGE() local
210 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()