Lines Matching refs:data_dev_block_bits
39 return offset + mod * (v->fec->rounds << v->data_dev_block_bits); in fec_interleave()
153 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
188 data, 1 << v->data_dev_block_bits, in fec_is_erasure()
234 block = ileaved >> v->data_dev_block_bits; in fec_read_bufs()
289 if (k >= 1 << v->data_dev_block_bits) in fec_read_bufs()
372 for (pos = 0; pos < 1 << v->data_dev_block_bits; ) { in fec_decode_rsb()
389 1 << v->data_dev_block_bits, in fec_decode_rsb()
450 offset = block << v->data_dev_block_bits; in verity_fec_decode()
451 res = div64_u64(offset, v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
457 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
472 memcpy(dest, fio->output, 1 << v->data_dev_block_bits); in verity_fec_decode()
619 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_fec_parse_opt_args()
620 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
628 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) >> in verity_fec_parse_opt_args()
629 (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
706 if (v->data_dev_block_bits != v->hash_dev_block_bits) { in verity_fec_ctr()
746 if ((f->roots << SECTOR_SHIFT) & ((1 << v->data_dev_block_bits) - 1)) in verity_fec_ctr()
747 f->io_size = 1 << v->data_dev_block_bits; in verity_fec_ctr()
759 dm_bufio_set_sector_offset(f->bufio, f->start << (v->data_dev_block_bits - SECTOR_SHIFT)); in verity_fec_ctr()
768 1 << v->data_dev_block_bits, in verity_fec_ctr()
813 1 << v->data_dev_block_bits); in verity_fec_ctr()