Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/smartpqi/
Dsmartpqi_init.c1166 u32 r5or6_blocks_per_row; in pqi_validate_raid_map() local
1189 r5or6_blocks_per_row = in pqi_validate_raid_map()
1192 if (r5or6_blocks_per_row == 0) { in pqi_validate_raid_map()
2344 u32 r5or6_blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd() local
2525 r5or6_blocks_per_row = strip_size * data_disks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
2526 stripesize = r5or6_blocks_per_row * layout_map_count; in pqi_raid_bypass_submit_scsi_cmd()
2531 do_div(tmpdiv, r5or6_blocks_per_row); in pqi_raid_bypass_submit_scsi_cmd()
2536 do_div(tmpdiv, r5or6_blocks_per_row); in pqi_raid_bypass_submit_scsi_cmd()
2539 first_group = (first_block % stripesize) / r5or6_blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
2540 last_group = (last_block % stripesize) / r5or6_blocks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
[all …]
/Linux-v5.4/drivers/scsi/
Dhpsa.c5088 u32 r5or6_blocks_per_row; in hpsa_scsi_ioaccel_raid_map() local
5265 r5or6_blocks_per_row = in hpsa_scsi_ioaccel_raid_map()
5268 BUG_ON(r5or6_blocks_per_row == 0); in hpsa_scsi_ioaccel_raid_map()
5269 stripesize = r5or6_blocks_per_row * in hpsa_scsi_ioaccel_raid_map()
5275 (void) do_div(tmpdiv, r5or6_blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5280 (void) do_div(tmpdiv, r5or6_blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5283 first_group = (first_block % stripesize) / r5or6_blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
5284 last_group = (last_block % stripesize) / r5or6_blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
5311 first_row_offset = (u32) do_div(tmpdiv, r5or6_blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5316 r5or6_last_row_offset = do_div(tmpdiv, r5or6_blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
[all …]