Searched refs:raid_map (Results 1 – 5 of 5) sorted by relevance
/drivers/scsi/smartpqi/ |
D | smartpqi_init.c | 1272 struct pqi_scsi_dev *device, struct raid_map *raid_map) in pqi_validate_raid_map() argument 1278 raid_map_size = get_unaligned_le32(&raid_map->structure_size); in pqi_validate_raid_map() 1280 if (raid_map_size < offsetof(struct raid_map, disk_data)) { in pqi_validate_raid_map() 1286 if (get_unaligned_le16(&raid_map->layout_map_count) != 2) { in pqi_validate_raid_map() 1291 if (get_unaligned_le16(&raid_map->layout_map_count) != 3) { in pqi_validate_raid_map() 1297 get_unaligned_le16(&raid_map->layout_map_count) > 1) { in pqi_validate_raid_map() 1300 get_unaligned_le16(&raid_map->strip_size) * in pqi_validate_raid_map() 1301 get_unaligned_le16(&raid_map->data_disks_per_row); in pqi_validate_raid_map() 1324 struct raid_map *raid_map; in pqi_get_raid_map() local 1326 raid_map = kmalloc(sizeof(*raid_map), GFP_KERNEL); in pqi_get_raid_map() [all …]
|
D | smartpqi.h | 967 struct raid_map { struct 1096 struct raid_map *raid_map; /* RAID bypass map */ member
|
/drivers/scsi/ |
D | hpsa.h | 99 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
|
D | hpsa.c | 1382 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry() 1701 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs() 3314 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map, in hpsa_get_raid_map() 3315 sizeof(this_device->raid_map), 0, in hpsa_get_raid_map() 3334 if (le32_to_cpu(this_device->raid_map.structure_size) > in hpsa_get_raid_map() 3335 sizeof(this_device->raid_map)) { in hpsa_get_raid_map() 3339 hpsa_debug_map_buff(h, rc, &this_device->raid_map); in hpsa_get_raid_map() 4852 struct raid_map_data *map = &dev->raid_map; in set_encrypt_ioaccel2() 5105 struct raid_map_data *map = &dev->raid_map; in hpsa_scsi_ioaccel_raid_map()
|
/drivers/md/ |
D | dm-raid.c | 3326 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function 4075 .map = raid_map,
|