Searched refs:ht (Results 1 – 4 of 4) sorted by relevance
/optee_os-3.20.0/core/tee/ |
A D | fs_htree.c | 334 res = rpc_read_head(ht, idx, &ht->head); in init_head_from_data() 356 res = rpc_read_node(ht, 1, idx, &ht->root.node); in init_head_from_data() 550 sizeof(ht->fek), ht->fek); in verify_root() 559 sizeof(ht->imeta), &ht->imeta); in verify_root() 621 if (!ht) in tee_fs_htree_open() 636 sizeof(ht->fek), ht->head.enc_fek); in tee_fs_htree_open() 754 sizeof(ht->imeta), &ht->head.imeta); in update_root() 764 if (!ht) in tee_fs_htree_sync_to_storage() 783 res = rpc_write_head(ht, ht->head.counter & 1, &ht->head); in tee_fs_htree_sync_to_storage() 821 if (!ht) in tee_fs_htree_write_block() [all …]
|
A D | tee_ree_fs.c | 34 struct tee_fs_htree *ht; member 73 struct tee_fs_htree_meta *meta = tee_fs_htree_get_meta(fdp->ht); in out_of_place_write() 96 res = tee_fs_htree_read_block(&fdp->ht, in out_of_place_write() 109 res = tee_fs_htree_write_block(&fdp->ht, start_block_num, in out_of_place_write() 123 tee_fs_htree_meta_set_dirty(fdp->ht); in out_of_place_write() 281 res = tee_fs_htree_truncate(&fdp->ht, in ree_fs_ftruncate_internal() 292 tee_fs_htree_meta_set_dirty(fdp->ht); in ree_fs_ftruncate_internal() 380 file_size = tee_fs_htree_get_meta(fdp->ht)->length; in ree_fs_write_primitive() 418 fdp, &fdp->ht); in ree_fs_open_primitive() 444 tee_fs_htree_close(&fdp->ht); in ree_fs_close_primitive() [all …]
|
/optee_os-3.20.0/core/pta/tests/ |
A D | fs_htree.c | 229 res = fn(ht, n + begin, salt); in do_range() 317 tee_fs_htree_close(&ht); in htree_test_rewrite() 365 tee_fs_htree_close(&ht); in htree_test_rewrite() 377 tee_fs_htree_close(&ht); in htree_test_rewrite() 385 tee_fs_htree_close(&ht); in htree_test_rewrite() 502 &aux2, &ht); in test_corrupt_type() 523 tee_fs_htree_close(&ht); in test_corrupt_type() 549 tee_fs_htree_close(&ht); in test_corrupt_type() 581 tee_fs_htree_close(&ht); in test_corrupt() 588 tee_fs_htree_close(&ht); in test_corrupt() [all …]
|
/optee_os-3.20.0/core/include/tee/ |
A D | fs_htree.h | 115 void *stor_aux, struct tee_fs_htree **ht); 120 void tee_fs_htree_close(struct tee_fs_htree **ht); 127 struct tee_fs_htree_meta *tee_fs_htree_get_meta(struct tee_fs_htree *ht); 132 void tee_fs_htree_meta_set_dirty(struct tee_fs_htree *ht); 141 TEE_Result tee_fs_htree_sync_to_storage(struct tee_fs_htree **ht, 151 TEE_Result tee_fs_htree_truncate(struct tee_fs_htree **ht, size_t block_num); 161 TEE_Result tee_fs_htree_write_block(struct tee_fs_htree **ht, size_t block_num, 171 TEE_Result tee_fs_htree_read_block(struct tee_fs_htree **ht, size_t block_num,
|
Completed in 11 milliseconds