Lines Matching full:struct

28 /* Internal struct provided to let the rpc callbacks know the size if needed */
29 struct tee_fs_htree_node_image {
30 /* Note that calc_node_hash() depends on hash first in struct */
38 * This struct is not interpreted by the hash tree, it's up to the user of
41 struct tee_fs_htree_meta {
45 /* Internal struct needed by struct tee_fs_htree_image */
46 struct tee_fs_htree_imeta {
47 struct tee_fs_htree_meta meta;
51 /* Internal struct provided to let the rpc callbacks know the size if needed */
52 struct tee_fs_htree_image {
56 uint8_t imeta[sizeof(struct tee_fs_htree_imeta)];
62 * @TEE_FS_HTREE_TYPE_HEAD: indicates a struct tee_fs_htree_image
63 * @TEE_FS_HTREE_TYPE_NODE: indicates a struct tee_fs_htree_node_image
72 struct tee_fs_rpc_operation;
75 * struct tee_fs_htree_storage - storage description supplied by user of
78 * @rpc_read_init: initialize a struct tee_fs_rpc_operation for an RPC read
80 * @rpc_write_init: initialize a struct tee_fs_rpc_operation for an RPC
87 struct tee_fs_htree_storage {
89 TEE_Result (*rpc_read_init)(void *aux, struct tee_fs_rpc_operation *op,
92 TEE_Result (*rpc_read_final)(struct tee_fs_rpc_operation *op,
94 TEE_Result (*rpc_write_init)(void *aux, struct tee_fs_rpc_operation *op,
97 TEE_Result (*rpc_write_final)(struct tee_fs_rpc_operation *op);
100 struct tee_fs_htree;
107 * @min_counter: the smallest accepted value in struct htree_image.counter
110 * @stor_aux: auxilary pointer supplied to callbacks in struct
116 const struct tee_fs_htree_storage *stor,
117 void *stor_aux, struct tee_fs_htree **ht);
122 void tee_fs_htree_close(struct tee_fs_htree **ht);
125 * tee_fs_htree_get_meta() - get a pointer to associated struct
129 struct tee_fs_htree_meta *tee_fs_htree_get_meta(struct tee_fs_htree *ht);
134 void tee_fs_htree_meta_set_dirty(struct tee_fs_htree *ht);
144 TEE_Result tee_fs_htree_sync_to_storage(struct tee_fs_htree **ht,
154 TEE_Result tee_fs_htree_truncate(struct tee_fs_htree **ht, size_t block_num);
164 TEE_Result tee_fs_htree_write_block(struct tee_fs_htree **ht, size_t block_num,
174 TEE_Result tee_fs_htree_read_block(struct tee_fs_htree **ht, size_t block_num,