Lines Matching refs:data_dev_block_bits

39 	return offset + mod * (v->fec->rounds << v->data_dev_block_bits);  in fec_interleave()
155 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
189 if (unlikely(verity_hash(v, io, data, 1 << v->data_dev_block_bits, in fec_is_erasure()
236 block = ileaved >> v->data_dev_block_bits; in fec_read_bufs()
291 if (k >= 1 << v->data_dev_block_bits) in fec_read_bufs()
374 for (pos = 0; pos < 1 << v->data_dev_block_bits; ) { in fec_decode_rsb()
390 r = verity_hash(v, io, fio->output, 1 << v->data_dev_block_bits, in fec_decode_rsb()
436 offset = block << v->data_dev_block_bits; in verity_fec_decode()
437 res = div64_u64(offset, v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
443 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
457 memcpy(dest, fio->output, 1 << v->data_dev_block_bits); in verity_fec_decode()
600 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) in verity_fec_parse_opt_args()
601 >> (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
609 ((sector_t)(num_ll << (v->data_dev_block_bits - SECTOR_SHIFT)) >> in verity_fec_parse_opt_args()
610 (v->data_dev_block_bits - SECTOR_SHIFT) != num_ll)) { in verity_fec_parse_opt_args()
687 if (v->data_dev_block_bits != v->hash_dev_block_bits) { in verity_fec_ctr()
727 if ((f->roots << SECTOR_SHIFT) & ((1 << v->data_dev_block_bits) - 1)) in verity_fec_ctr()
728 f->io_size = 1 << v->data_dev_block_bits; in verity_fec_ctr()
740 dm_bufio_set_sector_offset(f->bufio, f->start << (v->data_dev_block_bits - SECTOR_SHIFT)); in verity_fec_ctr()
749 1 << v->data_dev_block_bits, in verity_fec_ctr()
794 1 << v->data_dev_block_bits); in verity_fec_ctr()