Home
last modified time | relevance | path

Searched refs:raid_map (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/scsi/smartpqi/
A Dsmartpqi_init.c1338 struct pqi_scsi_dev *device, struct raid_map *raid_map) in pqi_validate_raid_map() argument
1390 struct raid_map *raid_map; in pqi_get_raid_map() local
1392 raid_map = kmalloc(sizeof(*raid_map), GFP_KERNEL); in pqi_get_raid_map()
1393 if (!raid_map) in pqi_get_raid_map()
1397 device->scsi3addr, raid_map, sizeof(*raid_map), 0, NULL); in pqi_get_raid_map()
1431 device->raid_map = raid_map; in pqi_get_raid_map()
2059 existing_device->raid_map = new_device->raid_map; in pqi_scsi_update_device()
2577 struct raid_map *raid_map, u64 first_block) in pqi_set_encryption_info() argument
2752 struct raid_map *raid_map) in pqi_calc_aio_r5_or_r6() argument
2923 struct raid_map *raid_map; in pqi_raid_bypass_submit_scsi_cmd() local
[all …]
A Dsmartpqi.h1003 struct raid_map { struct
1133 struct raid_map *raid_map; /* RAID bypass map */ member
/linux/fs/btrfs/
A Draid56.c273 u64 num = rbio->bioc->raid_map[0]; in rbio_bucket()
561 if (last->bioc->raid_map[0] != cur->bioc->raid_map[0]) in rbio_can_merge()
674 if (cur->bioc->raid_map[0] != rbio->bioc->raid_map[0]) in lock_stripe_add()
1155 stripe_offset = start - rbio->bioc->raid_map[0]; in index_rbio_pages()
1365 u64 stripe_start = rbio->bioc->raid_map[i]; in find_logical_bio_stripe()
1875 if (rbio->bioc->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io()
1876 if (rbio->bioc->raid_map[faila] == in __raid_recover_end_io()
1888 if (rbio->bioc->raid_map[failb] == RAID5_P_STRIPE) { in __raid_recover_end_io()
2276 ASSERT(logical >= rbio->bioc->raid_map[0]); in raid56_add_scrub_pages()
2277 ASSERT(logical + PAGE_SIZE <= rbio->bioc->raid_map[0] + in raid56_add_scrub_pages()
[all …]
A Dscrub.c1231 u64 *raid_map, in scrub_stripe_index_and_offset() argument
1242 if (raid_map[i] == RAID6_Q_STRIPE || in scrub_stripe_index_and_offset()
1243 raid_map[i] == RAID5_P_STRIPE) in scrub_stripe_index_and_offset()
1246 if (logical >= raid_map[i] && in scrub_stripe_index_and_offset()
1247 logical < raid_map[i] + mapped_length) in scrub_stripe_index_and_offset()
1252 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset()
1351 bioc->raid_map, in scrub_setup_recheck_block()
2214 if (ret || !bioc || !bioc->raid_map) in scrub_missing_raid56_pages()
2841 if (ret || !bioc || !bioc->raid_map) in scrub_parity_check_and_repair()
A Dvolumes.h400 u64 *raid_map; member
A Dvolumes.c5864 if (bioc->raid_map[i] > bioc->raid_map[i + 1]) { in sort_parity_stripes()
5866 swap(bioc->raid_map[i], bioc->raid_map[i + 1]); in sort_parity_stripes()
5896 bioc->raid_map = (u64 *)(bioc->tgtdev_map + real_stripes); in alloc_btrfs_io_context()
6556 bioc->raid_map[(i + rot) % num_stripes] = in __btrfs_map_block()
6559 bioc->raid_map[(i + rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block()
6561 bioc->raid_map[(i + rot + 1) % num_stripes] = in __btrfs_map_block()
/linux/drivers/scsi/
A Dhpsa.h99 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
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()
4856 struct raid_map_data *map = &dev->raid_map; in set_encrypt_ioaccel2()
5109 struct raid_map_data *map = &dev->raid_map; in hpsa_scsi_ioaccel_raid_map()
/linux/drivers/md/
A Ddm-raid.c3326 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function
4075 .map = raid_map,

Completed in 92 milliseconds