Home
last modified time | relevance | path

Searched refs:hash_tree (Results 1 – 3 of 3) sorted by relevance

/fs/incfs/
Dverity.c281 struct mtree *hash_tree, loff_t hash_offset, in incfs_build_merkle_tree() argument
302 for (lvl = 0; lvl <= hash_tree->depth; lvl++) { in incfs_build_merkle_tree()
312 hash_tree->hash_level_suboffset[lvl - 1]; in incfs_build_merkle_tree()
334 if (lvl == hash_tree->depth) in incfs_build_merkle_tree()
338 hash_tree->hash_level_suboffset[lvl]; in incfs_build_merkle_tree()
404 struct mtree *hash_tree = NULL; in incfs_add_signature_record() local
429 hash_tree = incfs_alloc_mtree(range((u8 *)&sig, sizeof(sig)), in incfs_add_signature_record()
431 if (IS_ERR(hash_tree)) in incfs_add_signature_record()
432 return PTR_ERR(hash_tree); in incfs_add_signature_record()
446 hash_tree->hash_tree_area_size, in incfs_add_signature_record()
[all …]
Ddata_mgmt.c1480 struct mtree *hash_tree = NULL; in incfs_process_new_hash_block() local
1498 hash_tree = df->df_hash_tree; in incfs_process_new_hash_block()
1500 if (!hash_tree || !sig || sig->hash_offset == 0) in incfs_process_new_hash_block()
1547 struct mtree *hash_tree = NULL; in process_file_signature_md() local
1586 hash_tree = incfs_alloc_mtree(range(buf, signature->sig_size), in process_file_signature_md()
1588 if (IS_ERR(hash_tree)) { in process_file_signature_md()
1589 error = PTR_ERR(hash_tree); in process_file_signature_md()
1590 hash_tree = NULL; in process_file_signature_md()
1593 if (hash_tree->hash_tree_area_size != signature->hash_size) { in process_file_signature_md()
1606 df->df_hash_tree = hash_tree; in process_file_signature_md()
[all …]
Dpseudo_files.c311 struct mtree *hash_tree = NULL; in init_new_file() local
355 hash_tree = incfs_alloc_mtree(raw_signature, block_count); in init_new_file()
356 if (IS_ERR(hash_tree)) { in init_new_file()
357 error = PTR_ERR(hash_tree); in init_new_file()
358 hash_tree = NULL; in init_new_file()
363 raw_signature, hash_tree->hash_tree_area_size, in init_new_file()
369 hash_tree->hash_tree_area_size); in init_new_file()
383 incfs_free_mtree(hash_tree); in init_new_file()