Searched refs:hash_per_block (Results 1 – 4 of 4) sorted by relevance
137 int hash_per_block; in incfs_alloc_mtree() local162 hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / result->alg->digest_size; in incfs_alloc_mtree()172 blocks = (blocks + hash_per_block - 1) / hash_per_block; in incfs_alloc_mtree()
682 int hash_per_block; in validate_hash_tree() local695 hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in validate_hash_tree()704 hash_block_index /= hash_per_block; in validate_hash_tree()
431 const int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in build_mtree() local447 hash_block_count = (hash_block_count + hash_per_block - 1) / in build_mtree()448 hash_per_block; in build_mtree()465 int block_index = tree_lvl_index[0] + i / hash_per_block; in build_mtree()466 int block_off = (i % hash_per_block) * digest_size; in build_mtree()479 i / hash_per_block + tree_lvl_index[level]; in build_mtree()480 int block_off = (i % hash_per_block) * digest_size; in build_mtree()
847 const int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in build_mtree() local862 hash_block_count = (hash_block_count + hash_per_block - 1) in build_mtree()863 / hash_per_block; in build_mtree()892 i / hash_per_block; in build_mtree()893 int block_off = (i % hash_per_block) * digest_size; in build_mtree()913 i / hash_per_block + tree_lvl_index[level]; in build_mtree()914 int block_off = (i % hash_per_block) * digest_size; in build_mtree()3344 const int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in validate_hash_block_count() local3357 hash_layer = (hash_layer + hash_per_block - 1) / hash_per_block; in validate_hash_block_count()