Searched refs:bestArm (Results 1 – 1 of 1) sorted by relevance
1357 u8 bestArm, pd0, pd1, span, arm; in megasas_get_best_arm_pd() local1382 bestArm = arm; in megasas_get_best_arm_pd()1391 bestArm = (diff0 <= diff1 ? arm : arm ^ 1); in megasas_get_best_arm_pd()1396 if ((bestArm == arm && pend0 > pend1 + lb_pending_cmds) || in megasas_get_best_arm_pd()1397 (bestArm != arm && pend1 > pend0 + lb_pending_cmds)) in megasas_get_best_arm_pd()1398 bestArm ^= 1; in megasas_get_best_arm_pd()1402 (span << RAID_CTX_SPANARM_SPAN_SHIFT) | bestArm; in megasas_get_best_arm_pd()1403 io_info->pd_after_lb = (bestArm == arm) ? pd0 : pd1; in megasas_get_best_arm_pd()