Home
last modified time | relevance | path

Searched refs:obj_id (Results 1 – 13 of 13) sorted by relevance

/optee_os-3.20.0/core/tee/
A Dtee_pobj.c60 TEE_Result tee_pobj_get(TEE_UUID *uuid, void *obj_id, uint32_t obj_id_len, in tee_pobj_get() argument
74 (memcmp(obj_id, o->obj_id, obj_id_len) == 0) && in tee_pobj_get()
114 o->obj_id = malloc(obj_id_len); in tee_pobj_get()
115 if (o->obj_id == NULL) { in tee_pobj_get()
120 memcpy(o->obj_id, obj_id, obj_id_len); in tee_pobj_get()
151 free(obj->obj_id); in tee_pobj_release()
159 TEE_Result tee_pobj_rename(struct tee_pobj *obj, void *obj_id, in tee_pobj_rename() argument
165 if (obj == NULL || obj_id == NULL) in tee_pobj_rename()
179 memcpy(new_obj_id, obj_id, obj_id_len); in tee_pobj_rename()
182 free(obj->obj_id); in tee_pobj_rename()
[all …]
A Dtee_obj.c21 TEE_Result tee_obj_get(struct user_ta_ctx *utc, vaddr_t obj_id, in tee_obj_get() argument
27 if (obj_id == (vaddr_t)o) { in tee_obj_get()
A Dtee_ree_fs.c630 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in ree_fs_open()
664 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in set_name()
679 po->obj_id, po->obj_id_len); in set_name()
820 res = tee_fs_dirfile_find(dirh, &new->uuid, new->obj_id, in ree_fs_rename()
827 res = tee_fs_dirfile_find(dirh, &old->uuid, old->obj_id, in ree_fs_rename()
832 res = tee_fs_dirfile_rename(dirh, &new->uuid, &dfh, new->obj_id, in ree_fs_rename()
869 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in ree_fs_remove()
884 assert(tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in ree_fs_remove()
A Dtee_svc_storage.c439 if (o->pobj == NULL || o->pobj->obj_id == NULL) in syscall_storage_obj_del()
484 if (o->pobj == NULL || o->pobj->obj_id == NULL) { in syscall_storage_obj_rename()
606 void *obj_id, uint64_t *len) in syscall_storage_next_enum() argument
621 obj_id = memtag_strip_tag(obj_id); in syscall_storage_next_enum()
630 (uaddr_t)obj_id, TEE_OBJECT_ID_MAX_LEN); in syscall_storage_next_enum()
670 memcpy(obj_id, o->pobj->obj_id, o->pobj->obj_id_len); in syscall_storage_next_enum()
A Dtadb.c218 .obj_id = (void *)tadb_obj_id, in tadb_open()
A Dtee_rpmb_fs.c1949 tee_b2hs(po->obj_id, file + pos, po->obj_id_len, hslen - pos); in create_filename()
/optee_os-3.20.0/core/include/tee/
A Dtee_pobj.h18 void *obj_id; member
34 TEE_Result tee_pobj_get(TEE_UUID *uuid, void *obj_id, uint32_t obj_id_len,
43 TEE_Result tee_pobj_rename(struct tee_pobj *obj, void *obj_id,
A Dtee_obj.h29 TEE_Result tee_obj_get(struct user_ta_ctx *utc, vaddr_t obj_id,
A Dtee_svc_storage.h44 void *obj_id, uint64_t *len);
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c636 static TEE_Result sec_storage_obj_read(unsigned long storage_id, char *obj_id, in sec_storage_obj_read() argument
666 res = tee_pobj_get(&sess->ctx->uuid, obj_id, obj_id_len, flags, in sec_storage_obj_read()
696 static TEE_Result sec_storage_obj_write(unsigned long storage_id, char *obj_id, in sec_storage_obj_write() argument
725 res = tee_pobj_get(&sess->ctx->uuid, obj_id, obj_id_len, flags, in sec_storage_obj_write()
795 char obj_id[] = FILENAME; in stmm_handle_storage_service() local
796 size_t obj_id_len = strlen(obj_id); in stmm_handle_storage_service()
803 res = sec_storage_obj_read(TEE_STORAGE_PRIVATE_RPMB, obj_id, in stmm_handle_storage_service()
809 res = sec_storage_obj_write(TEE_STORAGE_PRIVATE_RPMB, obj_id, in stmm_handle_storage_service()
/optee_os-3.20.0/core/pta/
A Dattestation.c206 const uint8_t *obj_id, in sec_storage_obj_read() argument
225 res = tee_pobj_get(uuid, (void *)obj_id, obj_id_len, flags, false, fops, in sec_storage_obj_read()
251 const uint8_t *obj_id, in sec_storage_obj_write() argument
269 res = tee_pobj_get(uuid, (void *)obj_id, obj_id_len, flags, false, in sec_storage_obj_write()
/optee_os-3.20.0/lib/libutee/include/
A Dutee_syscalls.h204 void *obj_id, uint64_t *len);
/optee_os-3.20.0/core/kernel/
A Dree_fs_ta.c98 .obj_id = (void *)db_name, in check_update_version()

Completed in 36 milliseconds