Searched refs:sges_in_segment (Results 1 – 1 of 1) sorted by relevance
1008 u32 sges_in_segment; in _scsih_build_scatter_gather() local1036 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()[all …]