Home
last modified time | relevance | path

Searched refs:hash_per_block_bits (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/drivers/md/
A Ddm-verity-target.c100 return block >> (level * v->hash_per_block_bits); in verity_position_at_level()
206 *hash_block = v->hash_level_block[level] + (position >> v->hash_per_block_bits); in verity_hash_at_level()
211 idx = position & ((1 << v->hash_per_block_bits) - 1); in verity_hash_at_level()
215 *offset = idx << (v->hash_dev_block_bits - v->hash_per_block_bits); in verity_hash_at_level()
1355 v->hash_per_block_bits = in verity_ctr()
1360 while (v->hash_per_block_bits * v->levels < 64 && in verity_ctr()
1362 (v->hash_per_block_bits * v->levels)) in verity_ctr()
1376 s = (v->data_blocks + ((sector_t)1 << ((i + 1) * v->hash_per_block_bits)) - 1) in verity_ctr()
1377 >> ((i + 1) * v->hash_per_block_bits); in verity_ctr()
A Ddm-verity.h52 unsigned char hash_per_block_bits; /* log2(hashes in hash block) */ member

Completed in 6 milliseconds