Lines Matching refs:drv_map

169 	struct MR_DRV_RAID_MAP_ALL *drv_map =  in MR_PopulateDrvRaidMap()  local
171 struct MR_DRV_RAID_MAP *pDrvRaidMap = &drv_map->raidMap; in MR_PopulateDrvRaidMap()
174 memset(drv_map, 0, fusion->drv_map_sz); in MR_PopulateDrvRaidMap()
305 struct MR_DRV_RAID_MAP_ALL *drv_map; in MR_ValidateMapInfo() local
318 drv_map = fusion->ld_drv_map[(map_id & 1)]; in MR_ValidateMapInfo()
319 pDrvRaidMap = &drv_map->raidMap; in MR_ValidateMapInfo()
345 mr_update_span_set(drv_map, ldSpanInfo); in MR_ValidateMapInfo()
348 mr_update_load_balance_params(drv_map, lbInfo); in MR_ValidateMapInfo()
350 num_lds = le16_to_cpu(drv_map->raidMap.ldCount); in MR_ValidateMapInfo()
358 ld = MR_TargetIdToLdGet(i, drv_map); in MR_ValidateMapInfo()
364 raid = MR_LdRaidGet(ld, drv_map); in MR_ValidateMapInfo()
1321 void mr_update_load_balance_params(struct MR_DRV_RAID_MAP_ALL *drv_map, in mr_update_load_balance_params() argument
1332 ld = MR_TargetIdToLdGet(ldCount, drv_map); in mr_update_load_balance_params()
1338 raid = MR_LdRaidGet(ld, drv_map); in mr_update_load_balance_params()
1351 struct MR_DRV_RAID_MAP_ALL *drv_map) in megasas_get_best_arm_pd() argument
1367 ld = MR_TargetIdToLdGet(io_info->ldTgtId, drv_map); in megasas_get_best_arm_pd()
1368 raid = MR_LdRaidGet(ld, drv_map); in megasas_get_best_arm_pd()
1370 SPAN_ROW_SIZE(drv_map, ld, span) : raid->rowSize; in megasas_get_best_arm_pd()
1372 arRef = MR_LdSpanArrayGet(ld, span, drv_map); in megasas_get_best_arm_pd()
1373 pd0 = MR_ArPdGet(arRef, arm, drv_map); in megasas_get_best_arm_pd()
1375 (arm + 1 - span_row_size) : arm + 1, drv_map); in megasas_get_best_arm_pd()
1379 pd1_dev_handle = MR_PdDevHandleGet(pd1, drv_map); in megasas_get_best_arm_pd()
1413 struct MR_DRV_RAID_MAP_ALL *drv_map) 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()
1420 devHandle = MR_PdDevHandleGet(arm_pd, drv_map); in get_updated_dev_handle()
1421 io_info->pd_interface = MR_PdInterfaceTypeGet(arm_pd, drv_map); in get_updated_dev_handle()