Home
last modified time | relevance | path

Searched refs:blocks_per_row (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/scsi/smartpqi/
Dsmartpqi_init.c2730 rmd->blocks_per_row = rmd->data_disks_per_row * rmd->strip_size; in pci_get_aio_common_raid_map_values()
2731 if (rmd->blocks_per_row == 0) /* Used as a divisor in many calculations */ in pci_get_aio_common_raid_map_values()
2735 do_div(tmpdiv, rmd->blocks_per_row); in pci_get_aio_common_raid_map_values()
2738 do_div(tmpdiv, rmd->blocks_per_row); in pci_get_aio_common_raid_map_values()
2740 rmd->first_row_offset = (u32)(rmd->first_block - (rmd->first_row * rmd->blocks_per_row)); in pci_get_aio_common_raid_map_values()
2741 rmd->last_row_offset = (u32)(rmd->last_block - (rmd->last_row * rmd->blocks_per_row)); in pci_get_aio_common_raid_map_values()
2749 rmd->first_row = rmd->first_block / rmd->blocks_per_row; in pci_get_aio_common_raid_map_values()
2750 rmd->last_row = rmd->last_block / rmd->blocks_per_row; in pci_get_aio_common_raid_map_values()
2752 (rmd->first_row * rmd->blocks_per_row)); in pci_get_aio_common_raid_map_values()
2754 rmd->blocks_per_row)); in pci_get_aio_common_raid_map_values()
[all …]
Dsmartpqi.h1037 u32 blocks_per_row; member
/linux-6.1.9/drivers/scsi/
Dhpsa.c5113 u32 blocks_per_row; in hpsa_scsi_ioaccel_raid_map() local
5218 blocks_per_row = le16_to_cpu(map->data_disks_per_row) * in hpsa_scsi_ioaccel_raid_map()
5223 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5226 (void) do_div(tmpdiv, blocks_per_row); in hpsa_scsi_ioaccel_raid_map()
5228 first_row_offset = (u32) (first_block - (first_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()
5229 last_row_offset = (u32) (last_block - (last_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()
5237 first_row = first_block / blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
5238 last_row = last_block / blocks_per_row; in hpsa_scsi_ioaccel_raid_map()
5239 first_row_offset = (u32) (first_block - (first_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()
5240 last_row_offset = (u32) (last_block - (last_row * blocks_per_row)); in hpsa_scsi_ioaccel_raid_map()