Home
last modified time | relevance | path

Searched refs:obj_id_len (Results 1 – 9 of 9) 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
73 if ((obj_id_len == o->obj_id_len) && in tee_pobj_get()
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()
120 memcpy(o->obj_id, obj_id, obj_id_len); in tee_pobj_get()
121 o->obj_id_len = obj_id_len; in tee_pobj_get()
160 uint32_t obj_id_len) in tee_pobj_rename() argument
174 new_obj_id = malloc(obj_id_len); in tee_pobj_rename()
179 memcpy(new_obj_id, obj_id, obj_id_len); in tee_pobj_rename()
184 obj->obj_id_len = obj_id_len; in tee_pobj_rename()
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()
821 new->obj_id_len, &remove_dfh); in ree_fs_rename()
828 old->obj_id_len, &dfh); in ree_fs_rename()
833 new->obj_id_len); 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.c670 memcpy(obj_id, o->pobj->obj_id, o->pobj->obj_id_len); in syscall_storage_next_enum()
672 l = o->pobj->obj_id_len; in syscall_storage_next_enum()
A Dtadb.c219 .obj_id_len = sizeof(tadb_obj_id) in tadb_open()
A Dtee_rpmb_fs.c1931 + TEE_B2HS_HSBUF_SIZE(sizeof(TEE_UUID) + po->obj_id_len) in create_filename()
1949 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.h19 uint32_t obj_id_len; member
34 TEE_Result tee_pobj_get(TEE_UUID *uuid, void *obj_id, uint32_t obj_id_len,
44 uint32_t obj_id_len);
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c637 unsigned long obj_id_len, void *data, in sec_storage_obj_read() argument
654 if (obj_id_len > TEE_OBJECT_ID_MAX_LEN) in sec_storage_obj_read()
666 res = tee_pobj_get(&sess->ctx->uuid, obj_id, obj_id_len, flags, in sec_storage_obj_read()
697 unsigned long obj_id_len, void *data, in sec_storage_obj_write() argument
713 if (obj_id_len > TEE_OBJECT_ID_MAX_LEN) in sec_storage_obj_write()
725 res = tee_pobj_get(&sess->ctx->uuid, obj_id, obj_id_len, flags, in sec_storage_obj_write()
796 size_t obj_id_len = strlen(obj_id); in stmm_handle_storage_service() local
804 obj_id_len, va, len, offset, flags); in stmm_handle_storage_service()
810 obj_id_len, va, len, offset, flags); in stmm_handle_storage_service()
/optee_os-3.20.0/core/pta/
A Dattestation.c207 size_t obj_id_len, in sec_storage_obj_read() argument
222 if (obj_id_len > TEE_OBJECT_ID_MAX_LEN) in sec_storage_obj_read()
225 res = tee_pobj_get(uuid, (void *)obj_id, obj_id_len, flags, false, fops, in sec_storage_obj_read()
252 size_t obj_id_len, in sec_storage_obj_write() argument
266 if (obj_id_len > TEE_OBJECT_ID_MAX_LEN) in sec_storage_obj_write()
269 res = tee_pobj_get(uuid, (void *)obj_id, obj_id_len, flags, false, in sec_storage_obj_write()
/optee_os-3.20.0/core/kernel/
A Dree_fs_ta.c99 .obj_id_len = strlen(db_name) + 1, in check_update_version()

Completed in 18 milliseconds