Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2593 int sges_left; in _base_check_pcie_native_sgl() local
2596 sges_left = scsi_dma_map(scmd); in _base_check_pcie_native_sgl()
2597 if (sges_left < 0) in _base_check_pcie_native_sgl()
2602 scmd, sges_left)) { in _base_check_pcie_native_sgl()
2611 smid, sges_left); in _base_check_pcie_native_sgl()
2683 int sges_left; in _base_build_sg_scmd() local
2704 sges_left = scsi_dma_map(scmd); in _base_build_sg_scmd()
2705 if (sges_left < 0) in _base_build_sg_scmd()
2710 if (sges_left <= sges_in_segment) in _base_build_sg_scmd()
2727 sges_left--; in _base_build_sg_scmd()
[all …]
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_os.c3349 int sges_left, chain_idx; in mpi3mr_prepare_sg_scmd() local
3380 sges_left = dma_map_sg(&mrioc->pdev->dev, in mpi3mr_prepare_sg_scmd()
3387 sges_left = scsi_dma_map(scmd); in mpi3mr_prepare_sg_scmd()
3390 if (sges_left < 0) { in mpi3mr_prepare_sg_scmd()
3396 if (sges_left > MPI3MR_SG_DEPTH) { in mpi3mr_prepare_sg_scmd()
3399 sges_left); in mpi3mr_prepare_sg_scmd()
3422 if (sges_left <= sges_in_segment) in mpi3mr_prepare_sg_scmd()
3431 sges_left--; in mpi3mr_prepare_sg_scmd()
3446 sges_in_segment = sges_left; in mpi3mr_prepare_sg_scmd()
3455 while (sges_left > 0) { in mpi3mr_prepare_sg_scmd()
[all …]
/Linux-v6.1/drivers/message/fusion/
Dmptscsih.c184 int sges_left, sg_done; in mptscsih_AddSGE() local
208 sges_left = scsi_dma_map(SCpnt); in mptscsih_AddSGE()
209 if (sges_left < 0) in mptscsih_AddSGE()
227 numSgeThisFrame = (sges_left < numSgeSlots) ? sges_left : numSgeSlots; in mptscsih_AddSGE()
254 if (numSgeThisFrame == sges_left) { in mptscsih_AddSGE()
339 sges_left -= sg_done; in mptscsih_AddSGE()