Searched refs:raid_map (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/fs/btrfs/ |
D | raid56.c | 286 u64 num = rbio->bbio->raid_map[0]; in rbio_bucket() 586 if (last->bbio->raid_map[0] != in rbio_can_merge() 587 cur->bbio->raid_map[0]) in rbio_can_merge() 669 if (cur->bbio->raid_map[0] == rbio->bbio->raid_map[0]) { in lock_stripe_add() 1146 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages() 1366 stripe_start = rbio->bbio->raid_map[i]; in find_logical_bio_stripe() 1882 if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io() 1883 if (rbio->bbio->raid_map[faila] == in __raid_recover_end_io() 1895 if (rbio->bbio->raid_map[failb] == RAID5_P_STRIPE) { in __raid_recover_end_io() 2241 ASSERT(logical >= rbio->bbio->raid_map[0]); in raid56_parity_add_scrub_pages() [all …]
|
D | volumes.c | 4889 if (parity_smaller(bbio->raid_map[i], in sort_parity_stripes() 4890 bbio->raid_map[i+1])) { in sort_parity_stripes() 4892 l = bbio->raid_map[i]; in sort_parity_stripes() 4894 bbio->raid_map[i] = bbio->raid_map[i+1]; in sort_parity_stripes() 4896 bbio->raid_map[i+1] = l; in sort_parity_stripes() 5269 bbio->raid_map = (u64 *)((void *)bbio->stripes + in __btrfs_map_block() 5280 bbio->raid_map[(i+rot) % num_stripes] = in __btrfs_map_block() 5283 bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block() 5285 bbio->raid_map[(i+rot+1) % num_stripes] = in __btrfs_map_block() 5372 if (bbio->raid_map) in __btrfs_map_block() [all …]
|
D | scrub.c | 1288 u64 *raid_map, in scrub_stripe_index_and_offset() argument 1299 if (raid_map[i] == RAID6_Q_STRIPE || in scrub_stripe_index_and_offset() 1300 raid_map[i] == RAID5_P_STRIPE) in scrub_stripe_index_and_offset() 1303 if (logical >= raid_map[i] && in scrub_stripe_index_and_offset() 1304 logical < raid_map[i] + mapped_length) in scrub_stripe_index_and_offset() 1309 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset() 1393 bbio->raid_map, in scrub_setup_recheck_block() 2697 if (ret || !bbio || !bbio->raid_map) in scrub_parity_check_and_repair()
|
D | volumes.h | 317 u64 *raid_map; member
|
/linux-4.1.27/drivers/scsi/ |
D | hpsa.h | 60 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
|
D | hpsa.c | 983 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry() 1271 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs() 2335 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map, in hpsa_get_raid_map() 2336 sizeof(this_device->raid_map), 0, in hpsa_get_raid_map() 2352 if (le32_to_cpu(this_device->raid_map.structure_size) > in hpsa_get_raid_map() 2353 sizeof(this_device->raid_map)) { in hpsa_get_raid_map() 2357 hpsa_debug_map_buff(h, rc, &this_device->raid_map); in hpsa_get_raid_map() 3471 struct raid_map_data *map = &dev->raid_map; in set_encrypt_ioaccel2() 3674 struct raid_map_data *map = &dev->raid_map; in hpsa_scsi_ioaccel_raid_map()
|
/linux-4.1.27/drivers/md/ |
D | dm-raid.c | 1322 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function 1709 .map = raid_map,
|