Lines Matching defs:blocks
26 * (num levels, num blocks in each level, etc.) and initialize @params.
39 u64 blocks;
107 * the data blocks and is stored last.
110 /* Compute number of levels and the number of blocks in each level */
111 blocks = ((u64)data_size + params->block_size - 1) >> params->log_blocksize;
112 while (blocks > 1) {
118 blocks = (blocks + params->hashes_per_block - 1) >>
120 blocks_in_level[params->num_levels++] = blocks;
132 * allocated to track the "verified" status of hash blocks. Don't allow
134 * limits the file size to about 4.4 TB with SHA-256 and 4K blocks.
144 fsverity_err(inode, "Too many blocks in Merkle tree");
235 * a bitmap to keep track of which hash blocks have been
244 * blocks, a 100MB file only needs a 24-byte bitmap, and the