Lines Matching refs:root
89 struct htree_node root; member
206 return traverse_post_order(&targ, &ht->root); in htree_traverse_post_order()
219 struct htree_node *node = &ht->root; in find_closest_node()
328 res = rpc_read_node(ht, 1, idx, &ht->root.node); in init_head_from_data()
332 if (!memcmp(ht->root.node.hash, hash, in init_head_from_data()
333 sizeof(ht->root.node.hash))) { in init_head_from_data()
356 res = rpc_read_node(ht, 1, idx, &ht->root.node); in init_head_from_data()
363 ht->root.id = 1; in init_head_from_data()
473 res = crypto_authenc_update_aad(ctx, mode, ht->root.node.hash, in authenc_init()
604 ht->root.id = 1; in init_root_node()
605 ht->root.dirty = true; in init_root_node()
607 res = calc_node_hash(&ht->root, &ht->imeta.meta, ctx, in init_root_node()
608 ht->root.node.hash); in init_root_node()
680 ht->root.dirty = true; in tee_fs_htree_meta_set_dirty()
789 memcpy(hash, ht->root.node.hash, sizeof(ht->root.node.hash)); in tee_fs_htree_sync_to_storage()