Lines Matching refs:sge_count
878 uint32_t sge_count; in mfi_tbolt_build_io() local
908 sge_count = mfi_tbolt_make_sgl(sc, mfi_cmd, in mfi_tbolt_build_io()
910 if (sge_count > sc->mfi_max_sge) { in mfi_tbolt_build_io()
912 "max (0x%x) allowed\n", sge_count, sc->mfi_max_sge); in mfi_tbolt_build_io()
915 io_request->RaidContext.numSGE = sge_count; in mfi_tbolt_build_io()
939 uint8_t sge_count, sge_idx; in mfi_tbolt_make_sgl() local
951 sge_count = mfi_cmd->cm_frame->header.sg_count; in mfi_tbolt_make_sgl()
953 if (sge_count > sc->mfi_max_sge) { in mfi_tbolt_make_sgl()
955 os_sgl, sge_count); in mfi_tbolt_make_sgl()
956 return sge_count; in mfi_tbolt_make_sgl()
959 if (sge_count > sc->max_SGEs_in_main_message) in mfi_tbolt_make_sgl()
963 sge_idx = sge_count; in mfi_tbolt_make_sgl()
983 if (i == sge_count - 1 && in mfi_tbolt_make_sgl()
994 if (sg_processed < sge_count) { in mfi_tbolt_make_sgl()
1008 (sge_count - sg_processed)); in mfi_tbolt_make_sgl()
1011 for (; i < sge_count; i++) { in mfi_tbolt_make_sgl()
1019 if (i == sge_count - 1 && in mfi_tbolt_make_sgl()
1029 return sge_count; in mfi_tbolt_make_sgl()