Home
last modified time | relevance | path

Searched refs:raid_map (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c1419 struct pqi_scsi_dev *device, struct raid_map *raid_map) in pqi_validate_raid_map()
1425 raid_map_size = get_unaligned_le32(&raid_map->structure_size); in pqi_validate_raid_map()
1427 if (raid_map_size < offsetof(struct raid_map, disk_data)) { in pqi_validate_raid_map()
1433 if (get_unaligned_le16(&raid_map->layout_map_count) != 2) { in pqi_validate_raid_map()
1438 if (get_unaligned_le16(&raid_map->layout_map_count) != 3) { in pqi_validate_raid_map()
1444 get_unaligned_le16(&raid_map->layout_map_count) > 1) { in pqi_validate_raid_map()
1447 get_unaligned_le16(&raid_map->strip_size) * in pqi_validate_raid_map()
1448 get_unaligned_le16(&raid_map->data_disks_per_row); in pqi_validate_raid_map()
1471 struct raid_map *raid_ma in pqi_get_raid_map() local
1418 pqi_validate_raid_map(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, struct raid_map *raid_map) pqi_validate_raid_map() argument
2622 pqi_set_encryption_info(struct pqi_encryption_info *encryption_info, struct raid_map *raid_map, u64 first_block) pqi_set_encryption_info() argument
2730 pci_get_aio_common_raid_map_values(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev_raid_map_data *rmd, struct raid_map *raid_map) pci_get_aio_common_raid_map_values() argument
2797 pqi_calc_aio_r5_or_r6(struct pqi_scsi_dev_raid_map_data *rmd, struct raid_map *raid_map) pqi_calc_aio_r5_or_r6() argument
2944 pqi_calc_aio_r1_nexus(struct raid_map *raid_map, struct pqi_scsi_dev_raid_map_data *rmd) pqi_calc_aio_r1_nexus() argument
2969 struct raid_map *raid_map; pqi_raid_bypass_submit_scsi_cmd() local
[all...]
H A Dsmartpqi.h1002 struct raid_map { struct
1148 struct raid_map *raid_map; /* RAID bypass map */ member
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c1123 struct pqi_scsi_dev *device, struct raid_map *raid_map) in pqi_validate_raid_map()
1129 raid_map_size = get_unaligned_le32(&raid_map->structure_size); in pqi_validate_raid_map()
1131 if (raid_map_size < offsetof(struct raid_map, disk_data)) { in pqi_validate_raid_map()
1137 if (get_unaligned_le16(&raid_map->layout_map_count) != 2) { in pqi_validate_raid_map()
1142 if (get_unaligned_le16(&raid_map->layout_map_count) != 3) { in pqi_validate_raid_map()
1148 get_unaligned_le16(&raid_map->layout_map_count) > 1) { in pqi_validate_raid_map()
1151 get_unaligned_le16(&raid_map->strip_size) * in pqi_validate_raid_map()
1152 get_unaligned_le16(&raid_map->data_disks_per_row); in pqi_validate_raid_map()
1175 struct raid_map *raid_ma in pqi_get_raid_map() local
1122 pqi_validate_raid_map(struct pqi_ctrl_info *ctrl_info, struct pqi_scsi_dev *device, struct raid_map *raid_map) pqi_validate_raid_map() argument
2217 pqi_set_encryption_info( struct pqi_encryption_info *encryption_info, struct raid_map *raid_map, u64 first_block) pqi_set_encryption_info() argument
2248 struct raid_map *raid_map; pqi_raid_bypass_submit_scsi_cmd() local
[all...]
H A Dsmartpqi.h882 struct raid_map { struct
955 struct raid_map *raid_map; /* RAID bypass map */ member
/kernel/linux/linux-5.10/fs/btrfs/
H A Draid56.c282 u64 num = rbio->bbio->raid_map[0]; in rbio_bucket()
573 if (last->bbio->raid_map[0] != in rbio_can_merge()
574 cur->bbio->raid_map[0]) in rbio_can_merge()
687 if (cur->bbio->raid_map[0] != rbio->bbio->raid_map[0]) in lock_stripe_add()
1176 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages()
1403 u64 stripe_start = rbio->bbio->raid_map[i]; in find_logical_bio_stripe()
1759 const u64 full_stripe_start = rbio->bbio->raid_map[0]; in rbio_add_bio()
1923 if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io()
1924 if (rbio->bbio->raid_map[fail in __raid_recover_end_io()
[all...]
H A Dscrub.c1236 u64 *raid_map, in scrub_stripe_index_and_offset()
1247 if (raid_map[i] == RAID6_Q_STRIPE || in scrub_stripe_index_and_offset()
1248 raid_map[i] == RAID5_P_STRIPE) in scrub_stripe_index_and_offset()
1251 if (logical >= raid_map[i] && in scrub_stripe_index_and_offset()
1252 logical < raid_map[i] + mapped_length) in scrub_stripe_index_and_offset()
1257 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()
1356 bbio->raid_map, in scrub_setup_recheck_block()
2108 if (ret || !bbio || !bbio->raid_map) in scrub_missing_raid56_pages()
2699 if (ret || !bbio || !bbio->raid_map) in scrub_parity_check_and_repair()
1235 scrub_stripe_index_and_offset(u64 logical, u64 map_type, u64 *raid_map, u64 mapped_length, int nstripes, int mirror, int *stripe_index, u64 *stripe_offset) scrub_stripe_index_and_offset() argument
H A Dvolumes.h340 * so raid_map[0] is the start of our full stripe
342 u64 *raid_map; member
H A Dvolumes.c5620 if (bbio->raid_map[i] > bbio->raid_map[i + 1]) { in sort_parity_stripes()
5622 swap(bbio->raid_map[i], bbio->raid_map[i + 1]); in sort_parity_stripes()
5639 * plus the raid_map, which includes both the tgt dev in alloc_btrfs_bio()
5649 bbio->raid_map = (u64 *)(bbio->tgtdev_map + real_stripes); in alloc_btrfs_bio()
6281 /* build raid_map */ in __btrfs_map_block()
6293 bbio->raid_map[(i+rot) % num_stripes] = in __btrfs_map_block()
6296 bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block()
6298 bbio->raid_map[( in __btrfs_map_block()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dhpsa.h99 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
H A Dhpsa.c1380 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry()
1699 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()
3699 if (rc) /* could not load raid_map */ in hpsa_get_ioaccel_status()
4450 /* Get device type, vendor, model, device id, raid_map */ in hpsa_update_scsi_devices()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dhpsa.h99 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
H A Dhpsa.c1386 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry()
1705 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs()
3318 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map, in hpsa_get_raid_map()
3319 sizeof(this_device->raid_map), 0, in hpsa_get_raid_map()
3338 if (le32_to_cpu(this_device->raid_map.structure_size) > in hpsa_get_raid_map()
3339 sizeof(this_device->raid_map)) { in hpsa_get_raid_map()
3343 hpsa_debug_map_buff(h, rc, &this_device->raid_map); in hpsa_get_raid_map()
3703 if (rc) /* could not load raid_map */ in hpsa_get_ioaccel_status()
4447 /* Get device type, vendor, model, device id, raid_map */ in hpsa_update_scsi_devices()
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-raid.c3326 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function
4045 .map = raid_map,
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-raid.c3319 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function
4070 .map = raid_map,

Completed in 62 milliseconds