Lines Matching refs:ta
196 static TEE_Result rpc_load(const TEE_UUID *uuid, struct shdr **ta, in rpc_load() argument
202 if (!uuid || !ta || !mobj || !ta_size) in rpc_load()
218 *ta = mobj_get_va(*mobj, 0, params[1].u.memref.size); in rpc_load()
219 if (!*ta) { in rpc_load()
224 assert(*ta); in rpc_load()
250 struct shdr *ta = NULL; in ree_fs_ta_open() local
266 res = rpc_load(uuid, &ta, &ta_size, &mobj); in ree_fs_ta_open()
271 shdr = shdr_alloc_and_copy(0, ta, ta_size); in ree_fs_ta_open()
298 res = shdr_load_pub_key(shdr, offs, (const void *)ta, in ree_fs_ta_open()
323 shdr = shdr_alloc_and_copy(offs, ta, ta_size); in ree_fs_ta_open()
399 memcpy(bs_hdr, (uint8_t *)ta + offs, sizeof(*bs_hdr)); in ree_fs_ta_open()
433 memcpy(&img_ehdr, ((uint8_t *)ta + offs), sizeof(img_ehdr)); in ree_fs_ta_open()
459 (uint8_t *)ta + offs + sizeof(img_ehdr), in ree_fs_ta_open()
480 handle->nw_ta = ta; in ree_fs_ta_open()