Lines Matching refs:map_index
5078 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument
5082 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5087 *current_group = *map_index / in raid_map_helper()
5093 *map_index += le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5097 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5114 u32 map_index; in hpsa_scsi_ioaccel_raid_map() local
5258 map_index = (map_row * total_disks_per_row) + first_column; in hpsa_scsi_ioaccel_raid_map()
5274 map_index += le16_to_cpu(map->data_disks_per_row); in hpsa_scsi_ioaccel_raid_map()
5289 &map_index, ¤t_group); in hpsa_scsi_ioaccel_raid_map()
5389 map_index = (first_group * in hpsa_scsi_ioaccel_raid_map()
5397 if (unlikely(map_index >= RAID_MAP_MAX_ENTRIES)) in hpsa_scsi_ioaccel_raid_map()
5400 c->phys_disk = dev->phys_disk[map_index]; in hpsa_scsi_ioaccel_raid_map()
5404 disk_handle = dd[map_index].ioaccel_handle; in hpsa_scsi_ioaccel_raid_map()
5452 dev->phys_disk[map_index]); in hpsa_scsi_ioaccel_raid_map()