Searched refs:sges_in_segment (Results 1 – 2 of 2) sorted by relevance
1319 u32 sges_in_segment; in _base_build_sg_scmd_ieee() local1345 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()[all …]
1063 u32 sges_in_segment; in _scsih_build_scatter_gather() local1091 sges_in_segment = ioc->max_sges_in_main_message; in _scsih_build_scatter_gather()1092 if (sges_left <= sges_in_segment) in _scsih_build_scatter_gather()1096 (sges_in_segment * ioc->sge_size))/4; in _scsih_build_scatter_gather()1099 while (sges_in_segment) { in _scsih_build_scatter_gather()1100 if (sges_in_segment == 1) in _scsih_build_scatter_gather()1110 sges_in_segment--; in _scsih_build_scatter_gather()1121 sges_in_segment = (sges_left <= in _scsih_build_scatter_gather()1124 chain_offset = (sges_left == sges_in_segment) ? in _scsih_build_scatter_gather()1125 0 : (sges_in_segment * ioc->sge_size)/4; in _scsih_build_scatter_gather()[all …]