Home
last modified time | relevance | path

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

/linux-2.6.39/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()
/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c1007 int sges_left; in _scsih_build_scatter_gather() local
1028 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 …]