Lines Matching refs:first_block
2623 struct raid_map *raid_map, u64 first_block) in pqi_set_encryption_info() argument
2634 first_block = (first_block * volume_blk_size) / 512; in pqi_set_encryption_info()
2638 encryption_info->encrypt_tweak_lower = lower_32_bits(first_block); in pqi_set_encryption_info()
2639 encryption_info->encrypt_tweak_upper = upper_32_bits(first_block); in pqi_set_encryption_info()
2693 rmd->first_block = (u64)(((scmd->cmnd[1] & 0x1f) << 16) | in pqi_get_aio_lba_and_block_count()
2703 rmd->first_block = (u64)get_unaligned_be32(&scmd->cmnd[2]); in pqi_get_aio_lba_and_block_count()
2710 rmd->first_block = (u64)get_unaligned_be32(&scmd->cmnd[2]); in pqi_get_aio_lba_and_block_count()
2717 rmd->first_block = get_unaligned_be64(&scmd->cmnd[2]); in pqi_get_aio_lba_and_block_count()
2737 rmd->last_block = rmd->first_block + rmd->block_cnt - 1; in pci_get_aio_common_raid_map_values()
2742 rmd->last_block < rmd->first_block) in pci_get_aio_common_raid_map_values()
2755 tmpdiv = rmd->first_block; in pci_get_aio_common_raid_map_values()
2761 rmd->first_row_offset = (u32)(rmd->first_block - (rmd->first_row * rmd->blocks_per_row)); in pci_get_aio_common_raid_map_values()
2770 rmd->first_row = rmd->first_block / rmd->blocks_per_row; in pci_get_aio_common_raid_map_values()
2772 rmd->first_row_offset = (u32)(rmd->first_block - in pci_get_aio_common_raid_map_values()
2811 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2822 rmd->first_group = (rmd->first_block % rmd->stripesize) / rmd->blocks_per_row; in pqi_calc_aio_r5_or_r6()
2830 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2839 rmd->first_block / rmd->stripesize; in pqi_calc_aio_r5_or_r6()
2847 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2864 (u32)((rmd->first_block % rmd->stripesize) % in pqi_calc_aio_r5_or_r6()
2911 tmpdiv = rmd->first_block; in pqi_calc_aio_r5_or_r6()
2915 rmd->row = rmd->first_block / rmd->blocks_per_row; in pqi_calc_aio_r5_or_r6()
3037 pqi_set_encryption_info(&encryption_info, raid_map, rmd.first_block); in pqi_raid_bypass_submit_scsi_cmd()
5973 rmd.first_block >= pqi_stream_data->next_lba) && in pqi_is_parity_write_stream()
5974 rmd.first_block <= pqi_stream_data->next_lba + in pqi_is_parity_write_stream()
5976 pqi_stream_data->next_lba = rmd.first_block + in pqi_is_parity_write_stream()
5998 pqi_stream_data->next_lba = rmd.first_block + rmd.block_cnt; in pqi_is_parity_write_stream()