Searched refs:raid_map (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/fs/btrfs/ |
D | raid56.c | 287 u64 num = rbio->bbio->raid_map[0]; in rbio_bucket() 587 if (last->bbio->raid_map[0] != in rbio_can_merge() 588 cur->bbio->raid_map[0]) in rbio_can_merge() 674 if (cur->bbio->raid_map[0] == rbio->bbio->raid_map[0]) { in lock_stripe_add() 1157 stripe_offset = start - rbio->bbio->raid_map[0]; in index_rbio_pages() 1376 stripe_start = rbio->bbio->raid_map[i]; in find_logical_bio_stripe() 1892 if (rbio->bbio->raid_map[failb] == RAID6_Q_STRIPE) { in __raid_recover_end_io() 1893 if (rbio->bbio->raid_map[faila] == in __raid_recover_end_io() 1905 if (rbio->bbio->raid_map[failb] == RAID5_P_STRIPE) { in __raid_recover_end_io() 2255 ASSERT(logical >= rbio->bbio->raid_map[0]); in raid56_add_scrub_pages() [all …]
|
D | scrub.c | 1271 u64 *raid_map, in scrub_stripe_index_and_offset() argument 1282 if (raid_map[i] == RAID6_Q_STRIPE || in scrub_stripe_index_and_offset() 1283 raid_map[i] == RAID5_P_STRIPE) in scrub_stripe_index_and_offset() 1286 if (logical >= raid_map[i] && in scrub_stripe_index_and_offset() 1287 logical < raid_map[i] + mapped_length) in scrub_stripe_index_and_offset() 1292 *stripe_offset = logical - raid_map[i]; in scrub_stripe_index_and_offset() 1388 bbio->raid_map, in scrub_setup_recheck_block() 2190 if (ret || !bbio || !bbio->raid_map) in scrub_missing_raid56_pages() 2778 if (ret || !bbio || !bbio->raid_map) in scrub_parity_check_and_repair()
|
D | volumes.h | 321 u64 *raid_map; member
|
D | volumes.c | 5157 if (parity_smaller(bbio->raid_map[i], in sort_parity_stripes() 5158 bbio->raid_map[i+1])) { in sort_parity_stripes() 5160 l = bbio->raid_map[i]; in sort_parity_stripes() 5162 bbio->raid_map[i] = bbio->raid_map[i+1]; in sort_parity_stripes() 5164 bbio->raid_map[i+1] = l; in sort_parity_stripes() 5535 bbio->raid_map = (u64 *)((void *)bbio->stripes + in __btrfs_map_block() 5546 bbio->raid_map[(i+rot) % num_stripes] = in __btrfs_map_block() 5549 bbio->raid_map[(i+rot) % map->num_stripes] = RAID5_P_STRIPE; in __btrfs_map_block() 5551 bbio->raid_map[(i+rot+1) % num_stripes] = in __btrfs_map_block() 5638 if (bbio->raid_map) in __btrfs_map_block() [all …]
|
/linux-4.4.14/drivers/scsi/ |
D | hpsa.h | 91 struct raid_map_data raid_map; /* I/O accelerator RAID map */ member
|
D | hpsa.c | 1307 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry() 1616 struct raid_map_data *map = &logical_drive->raid_map; in hpsa_figure_phys_disk_ptrs() 3072 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map, in hpsa_get_raid_map() 3073 sizeof(this_device->raid_map), 0, in hpsa_get_raid_map() 3092 if (le32_to_cpu(this_device->raid_map.structure_size) > in hpsa_get_raid_map() 3093 sizeof(this_device->raid_map)) { in hpsa_get_raid_map() 3097 hpsa_debug_map_buff(h, rc, &this_device->raid_map); in hpsa_get_raid_map() 4403 struct raid_map_data *map = &dev->raid_map; in set_encrypt_ioaccel2() 4623 struct raid_map_data *map = &dev->raid_map; in hpsa_scsi_ioaccel_raid_map()
|
/linux-4.4.14/drivers/md/ |
D | dm-raid.c | 1328 static int raid_map(struct dm_target *ti, struct bio *bio) in raid_map() function 1725 .map = raid_map,
|