Lines Matching refs:lbInfo
307 struct LD_LOAD_BALANCE_INFO *lbInfo; in MR_ValidateMapInfo() local
321 lbInfo = fusion->load_balance_info; in MR_ValidateMapInfo()
347 if (lbInfo) in MR_ValidateMapInfo()
348 mr_update_load_balance_params(drv_map, lbInfo); in MR_ValidateMapInfo()
1322 struct LD_LOAD_BALANCE_INFO *lbInfo) in mr_update_load_balance_params() argument
1334 lbInfo[ldCount].loadBalanceFlag = 0; in mr_update_load_balance_params()
1341 lbInfo[ldCount].loadBalanceFlag = 0; in mr_update_load_balance_params()
1344 lbInfo[ldCount].loadBalanceFlag = 1; in mr_update_load_balance_params()
1349 struct LD_LOAD_BALANCE_INFO *lbInfo, in megasas_get_best_arm_pd() argument
1385 pend0 = atomic_read(&lbInfo->scsi_pending_cmds[pd0]); in megasas_get_best_arm_pd()
1386 pend1 = atomic_read(&lbInfo->scsi_pending_cmds[pd1]); in megasas_get_best_arm_pd()
1389 diff0 = ABS_DIFF(block, lbInfo->last_accessed_block[pd0]); in megasas_get_best_arm_pd()
1390 diff1 = ABS_DIFF(block, lbInfo->last_accessed_block[pd1]); in megasas_get_best_arm_pd()
1406 lbInfo->last_accessed_block[io_info->pd_after_lb] = block + count - 1; in megasas_get_best_arm_pd()
1411 struct LD_LOAD_BALANCE_INFO *lbInfo, in get_updated_dev_handle() argument
1419 arm_pd = megasas_get_best_arm_pd(instance, lbInfo, io_info, drv_map); in get_updated_dev_handle()
1422 atomic_inc(&lbInfo->scsi_pending_cmds[arm_pd]); in get_updated_dev_handle()