Lines Matching refs:sges_in_segment
1008 u32 sges_in_segment; in _scsih_build_scatter_gather() local
1036 sges_in_segment = ioc->max_sges_in_main_message; in _scsih_build_scatter_gather()
1037 if (sges_left <= sges_in_segment) in _scsih_build_scatter_gather()
1041 (sges_in_segment * ioc->sge_size))/4; in _scsih_build_scatter_gather()
1044 while (sges_in_segment) { in _scsih_build_scatter_gather()
1045 if (sges_in_segment == 1) in _scsih_build_scatter_gather()
1055 sges_in_segment--; in _scsih_build_scatter_gather()
1066 sges_in_segment = (sges_left <= in _scsih_build_scatter_gather()
1069 chain_offset = (sges_left == sges_in_segment) ? in _scsih_build_scatter_gather()
1070 0 : (sges_in_segment * ioc->sge_size)/4; in _scsih_build_scatter_gather()
1071 chain_length = sges_in_segment * ioc->sge_size; in _scsih_build_scatter_gather()
1084 while (sges_in_segment) { in _scsih_build_scatter_gather()
1085 if (sges_in_segment == 1) in _scsih_build_scatter_gather()
1097 sges_in_segment--; in _scsih_build_scatter_gather()