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