Lines Matching defs:map_index
5074 int offload_to_mirror, u32 *map_index, u32 *current_group)
5078 *map_index %= le16_to_cpu(map->data_disks_per_row);
5082 /* determine mirror group that *map_index indicates */
5083 *current_group = *map_index /
5089 *map_index += le16_to_cpu(map->data_disks_per_row);
5093 *map_index %= le16_to_cpu(map->data_disks_per_row);
5110 u32 map_index;
5254 map_index = (map_row * total_disks_per_row) + first_column;
5270 map_index += le16_to_cpu(map->data_disks_per_row);
5285 &map_index, ¤t_group);
5385 map_index = (first_group *
5393 if (unlikely(map_index >= RAID_MAP_MAX_ENTRIES))
5396 c->phys_disk = dev->phys_disk[map_index];
5400 disk_handle = dd[map_index].ioaccel_handle;
5448 dev->phys_disk[map_index]);