Lines Matching refs:sges_in_segment
1319 u32 sges_in_segment; in _base_build_sg_scmd_ieee() local
1345 sges_in_segment = (ioc->request_sz - in _base_build_sg_scmd_ieee()
1347 if (sges_left <= sges_in_segment) in _base_build_sg_scmd_ieee()
1350 mpi_request->ChainOffset = (sges_in_segment - 1 /* chain element */) + in _base_build_sg_scmd_ieee()
1354 while (sges_in_segment > 1) { in _base_build_sg_scmd_ieee()
1360 sges_in_segment--; in _base_build_sg_scmd_ieee()
1370 sges_in_segment = (sges_left <= in _base_build_sg_scmd_ieee()
1373 chain_offset = (sges_left == sges_in_segment) ? in _base_build_sg_scmd_ieee()
1374 0 : sges_in_segment; in _base_build_sg_scmd_ieee()
1375 chain_length = sges_in_segment * ioc->sge_size_ieee; in _base_build_sg_scmd_ieee()
1386 while (sges_in_segment) { in _base_build_sg_scmd_ieee()
1392 sges_in_segment--; in _base_build_sg_scmd_ieee()