Lines Matching defs:raid_map
460 struct raid_map *raid_map, uint64_t first_block)
469 volume_blk_size = GET_LE32((uint8_t *)&raid_map->volume_blk_size);
474 GET_LE16((uint8_t *)&raid_map->data_encryption_key_index);
574 struct raid_map *raid_map;
616 raid_map = device->raid_map;
619 if (lst_blk >= GET_LE64((uint8_t *)&raid_map->volume_blk_cnt) ||
623 data_disks_per_row = GET_LE16((uint8_t *)&raid_map->data_disks_per_row);
624 strip_sz = GET_LE16((uint8_t *)(&raid_map->strip_size));
625 layout_map_count = GET_LE16((uint8_t *)(&raid_map->layout_map_count));
646 GET_LE16((uint8_t *)(&raid_map->metadata_disks_per_row));
647 map_row = ((uint32_t)(fst_row >> raid_map->parity_rotation_shift)) %
648 GET_LE16((uint8_t *)(&raid_map->row_cnt));
747 ((uint32_t)(fst_row >> raid_map->parity_rotation_shift)) %
748 GET_LE16((uint8_t *)(&raid_map->row_cnt));
751 (GET_LE16((uint8_t *)(&raid_map->row_cnt)) *
756 rcb->ioaccel_handle = raid_map->dev_data[map_idx].ioaccel_handle;
757 disk_block = GET_LE64((uint8_t *)(&raid_map->disk_starting_blk)) +
763 if (raid_map->phys_blk_shift) {
764 disk_block <<= raid_map->phys_blk_shift;
765 disk_blk_cnt <<= raid_map->phys_blk_shift;
790 if (GET_LE16((uint8_t *)(&raid_map->flags)) &
792 pqisrc_set_enc_info(&rcb->enc_info, raid_map,