Home
last modified time | relevance | path

Searched refs:hash_per_block (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/fs/incfs/
H A Dintegrity.c137 int hash_per_block; in incfs_alloc_mtree() local
162 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()
H A Ddata_mgmt.c682 int hash_per_block; in validate_hash_tree() local
695 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/
H A Dincfs_perf.c431 const int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in build_mtree() local
447 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()
H A Dincfs_test.c847 const int hash_per_block = INCFS_DATA_FILE_BLOCK_SIZE / digest_size; in build_mtree() local
862 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() local
3357 hash_layer = (hash_layer + hash_per_block - 1) / hash_per_block; in validate_hash_block_count()