Lines Matching refs:params
95 const struct merkle_tree_params *params = &vi->tree_params;
96 const unsigned int hsize = params->digest_size;
116 u64 hidx = data_pos >> params->log_blocksize;
130 if (memchr_inv(data, 0, params->block_size)) {
150 for (level = 0; level < params->num_levels; level++) {
163 next_hidx = hidx >> params->log_arity;
166 hblock_idx = params->level_start[level] + next_hidx;
169 hpage_idx = hblock_idx >> params->log_blocks_per_page;
173 (hblock_idx << params->log_blocksize) & ~PAGE_MASK;
176 hoffset = (hidx << params->log_digestsize) &
177 (params->block_size - 1);
181 params->tree_pages - hpage_idx) : 0);
212 if (fsverity_hash_block(params, inode, haddr, real_hash) != 0)
232 if (fsverity_hash_block(params, inode, data, real_hash) != 0)
242 params->hash_alg->name, hsize, want_hash,
243 params->hash_alg->name, hsize, real_hash);