Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-verity-target.c217 *offset = idx << (v->hash_dev_block_bits - v->hash_per_block_bits); in verity_hash_at_level()
325 data, 1 << v->hash_dev_block_bits, in verity_verify_level()
860 1 << v->hash_dev_block_bits, in verity_status()
1300 v->hash_dev_block_bits = __ffs(num); in verity_ctr()
1318 (sector_t)(num_ll << (v->hash_dev_block_bits - SECTOR_SHIFT)) in verity_ctr()
1319 >> (v->hash_dev_block_bits - SECTOR_SHIFT) != num_ll) { in verity_ctr()
1351 if ((1 << v->hash_dev_block_bits) < v->digest_size * 2) { in verity_ctr()
1411 __fls((1 << v->hash_dev_block_bits) / v->digest_size); in verity_ctr()
1457 1 << v->hash_dev_block_bits, 1, sizeof(struct buffer_aux), in verity_ctr()
H A Ddm-verity.h52 unsigned char hash_dev_block_bits; /* log2(hash blocksize) */ member
H A Ddm-verity-fec.c706 if (v->data_dev_block_bits != v->hash_dev_block_bits) { in verity_fec_ctr()