Searched refs:sges_in_segment (Results 1 – 1 of 1) sorted by relevance
2393 u32 sges_in_segment; in _base_build_sg_scmd() local2422 sges_in_segment = ioc->max_sges_in_main_message; in _base_build_sg_scmd()2423 if (sges_left <= sges_in_segment) in _base_build_sg_scmd()2427 (sges_in_segment * ioc->sge_size))/4; in _base_build_sg_scmd()2430 while (sges_in_segment) { in _base_build_sg_scmd()2431 if (sges_in_segment == 1) in _base_build_sg_scmd()2441 sges_in_segment--; in _base_build_sg_scmd()2452 sges_in_segment = (sges_left <= in _base_build_sg_scmd()2455 chain_offset = (sges_left == sges_in_segment) ? in _base_build_sg_scmd()2456 0 : (sges_in_segment * ioc->sge_size)/4; in _base_build_sg_scmd()[all …]