Searched refs:hash_per_block_bits (Results 1 – 1 of 1) sorted by relevance
68 unsigned char hash_per_block_bits; /* log2(hashes in hash block) */ member173 return block >> (level * v->hash_per_block_bits); in verity_position_at_level()182 *hash_block = v->hash_level_block[level] + (position >> v->hash_per_block_bits); in verity_hash_at_level()187 idx = position & ((1 << v->hash_per_block_bits) - 1); in verity_hash_at_level()191 *offset = idx << (v->hash_dev_block_bits - v->hash_per_block_bits); in verity_hash_at_level()894 v->hash_per_block_bits = in verity_ctr()899 while (v->hash_per_block_bits * v->levels < 64 && in verity_ctr()901 (v->hash_per_block_bits * v->levels)) in verity_ctr()914 s = (v->data_blocks + ((sector_t)1 << ((i + 1) * v->hash_per_block_bits)) - 1) in verity_ctr()915 >> ((i + 1) * v->hash_per_block_bits); in verity_ctr()