Home
last modified time | relevance | path

Searched refs:layout_map_count (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c1176 if (get_unaligned_le16(&raid_map->layout_map_count) != 2) { in pqi_validate_raid_map()
1181 if (get_unaligned_le16(&raid_map->layout_map_count) != 3) { in pqi_validate_raid_map()
1187 get_unaligned_le16(&raid_map->layout_map_count) > 1) { in pqi_validate_raid_map()
2353 u16 layout_map_count; in pqi_raid_bypass_submit_scsi_cmd() local
2427 layout_map_count = get_unaligned_le16(&raid_map->layout_map_count); in pqi_raid_bypass_submit_scsi_cmd()
2491 layout_map_count - 1) { in pqi_raid_bypass_submit_scsi_cmd()
2512 (offload_to_mirror >= layout_map_count - 1) ? in pqi_raid_bypass_submit_scsi_cmd()
2514 WARN_ON(offload_to_mirror >= layout_map_count); in pqi_raid_bypass_submit_scsi_cmd()
2522 device->raid_level == SA_RAID_6) && layout_map_count > 1) { in pqi_raid_bypass_submit_scsi_cmd()
2526 stripesize = r5or6_blocks_per_row * layout_map_count; in pqi_raid_bypass_submit_scsi_cmd()
Dsmartpqi.h887 __le16 layout_map_count; /* layout maps (1 map per */ member
/Linux-v5.4/drivers/scsi/
Dhpsa_cmd.h242 __le16 layout_map_count; /* layout maps (1 map per mirror/parity member
Dhpsa.c1694 le16_to_cpu(map->layout_map_count) * in hpsa_figure_phys_disk_ptrs()
1696 int nphys_disk = le16_to_cpu(map->layout_map_count) * in hpsa_figure_phys_disk_ptrs()
3252 le16_to_cpu(map_buff->layout_map_count)); in hpsa_debug_map_buff()
3260 map_cnt = le16_to_cpu(map_buff->layout_map_count); in hpsa_debug_map_buff()
5057 if (*current_group < le16_to_cpu(map->layout_map_count) - 1) { in raid_map_helper()
5234 BUG_ON(le16_to_cpu(map->layout_map_count) != 2); in hpsa_scsi_ioaccel_raid_map()
5243 BUG_ON(le16_to_cpu(map->layout_map_count) != 3); in hpsa_scsi_ioaccel_raid_map()
5251 le16_to_cpu(map->layout_map_count) - 1) in hpsa_scsi_ioaccel_raid_map()
5261 if (le16_to_cpu(map->layout_map_count) <= 1) in hpsa_scsi_ioaccel_raid_map()
5270 le16_to_cpu(map->layout_map_count); in hpsa_scsi_ioaccel_raid_map()
[all …]