Home
last modified time | relevance | path

Searched refs:data_dev_block_bits (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-fec.c38 return offset + mod * (v->fec->rounds << v->data_dev_block_bits); in fec_interleave()
152 if (block_offset >= 1 << v->data_dev_block_bits) in fec_decode_bufs()
187 data, 1 << v->data_dev_block_bits, in fec_is_erasure()
233 block = ileaved >> v->data_dev_block_bits; in fec_read_bufs()
288 if (k >= 1 << v->data_dev_block_bits) in fec_read_bufs()
371 for (pos = 0; pos < 1 << v->data_dev_block_bits; ) { in fec_decode_rsb()
388 1 << v->data_dev_block_bits, in fec_decode_rsb()
449 offset = block << v->data_dev_block_bits; in verity_fec_decode()
450 res = div64_u64(offset, v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
456 rsb = offset - res * (v->fec->rounds << v->data_dev_block_bits); in verity_fec_decode()
[all …]
Ddm-verity-target.c374 unsigned int todo = 1 << v->data_dev_block_bits; in verity_for_io_block()
421 unsigned todo = 1 << v->data_dev_block_bits; in verity_for_bv_block()
465 bio_advance_iter(bio, iter, 1 << v->data_dev_block_bits); in verity_bv_skip_block()
606 cluster >>= v->data_dev_block_bits; in verity_prefetch_io()
670 ((1 << (v->data_dev_block_bits - SECTOR_SHIFT)) - 1)) { in verity_map()
676 (v->data_dev_block_bits - SECTOR_SHIFT) > v->data_blocks) { in verity_map()
687 io->block = bio->bi_iter.bi_sector >> (v->data_dev_block_bits - SECTOR_SHIFT); in verity_map()
688 io->n_blocks = bio->bi_iter.bi_size >> v->data_dev_block_bits; in verity_map()
723 1 << v->data_dev_block_bits, in verity_status()
802 if (limits->logical_block_size < 1 << v->data_dev_block_bits) in verity_io_hints()
[all …]
Ddm-verity.h49 unsigned char data_dev_block_bits; /* log2(data blocksize) */ member