Home
last modified time | relevance | path

Searched refs:current_group (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dhpsa.c5044 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument
5053 *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() local
5247 &map_index, &current_group); in hpsa_scsi_ioaccel_raid_map()
/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c2358 u32 current_group; in pqi_raid_bypass_submit_scsi_cmd() local
2487 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()