Searched refs:current_group (Results 1 – 2 of 2) sorted by relevance
5044 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument5053 *current_group = *map_index / in raid_map_helper()5055 if (offload_to_mirror == *current_group) in raid_map_helper()5057 if (*current_group < le16_to_cpu(map->layout_map_count) - 1) { in raid_map_helper()5060 (*current_group)++; in raid_map_helper()5064 *current_group = 0; in raid_map_helper()5066 } while (offload_to_mirror != *current_group); in raid_map_helper()5094 u32 first_group, last_group, current_group; in hpsa_scsi_ioaccel_raid_map() local5247 &map_index, ¤t_group); in hpsa_scsi_ioaccel_raid_map()
2358 u32 current_group; in pqi_raid_bypass_submit_scsi_cmd() local2487 current_group = map_index / data_disks_per_row; in pqi_raid_bypass_submit_scsi_cmd()2489 if (offload_to_mirror != current_group) { in pqi_raid_bypass_submit_scsi_cmd()2490 if (current_group < in pqi_raid_bypass_submit_scsi_cmd()2497 current_group++; in pqi_raid_bypass_submit_scsi_cmd()2504 current_group = 0; in pqi_raid_bypass_submit_scsi_cmd()2507 } while (offload_to_mirror != current_group); in pqi_raid_bypass_submit_scsi_cmd()