Lines Matching refs:vers
109 size_t idx, size_t vers, void *data, size_t dlen) in rpc_read() argument
116 res = ht->stor->rpc_read_init(ht->stor_aux, &op, type, idx, vers, &p); in rpc_read()
131 static TEE_Result rpc_read_head(struct tee_fs_htree *ht, size_t vers, in rpc_read_head() argument
134 return rpc_read(ht, TEE_FS_HTREE_TYPE_HEAD, 0, vers, in rpc_read_head()
139 size_t vers, in rpc_read_node() argument
142 return rpc_read(ht, TEE_FS_HTREE_TYPE_NODE, node_id - 1, vers, in rpc_read_node()
148 size_t vers, const void *data, size_t dlen) in rpc_write() argument
154 res = ht->stor->rpc_write_init(ht->stor_aux, &op, type, idx, vers, &p); in rpc_write()
162 static TEE_Result rpc_write_head(struct tee_fs_htree *ht, size_t vers, in rpc_write_head() argument
165 return rpc_write(ht, TEE_FS_HTREE_TYPE_HEAD, 0, vers, in rpc_write_head()
170 size_t vers, in rpc_write_node() argument
173 return rpc_write(ht, TEE_FS_HTREE_TYPE_NODE, node_id - 1, vers, in rpc_write_node()
704 uint8_t vers; in htree_sync_node_to_storage() local
722 vers = !!(node->parent->node.flags & f); in htree_sync_node_to_storage()
728 vers = !(targ->ht->head.counter & 1); in htree_sync_node_to_storage()
739 return rpc_write_node(targ->ht, node->id, vers, &node->node); in htree_sync_node_to_storage()