Home
last modified time | relevance | path

Searched refs:tee_pobj (Results 1 – 12 of 12) sorted by relevance

/optee_os/core/include/tee/
H A Dtee_pobj.h14 struct tee_pobj { struct
15 TAILQ_ENTRY(tee_pobj) link;
38 struct tee_pobj **obj); argument
40 void tee_pobj_create_final(struct tee_pobj *obj);
42 TEE_Result tee_pobj_release(struct tee_pobj *obj);
44 TEE_Result tee_pobj_rename(struct tee_pobj *obj, void *obj_id,
51 void tee_pobj_lock_usage(struct tee_pobj *obj);
52 void tee_pobj_unlock_usage(struct tee_pobj *obj);
H A Dtee_fs.h28 struct tee_pobj;
34 TEE_Result (*open)(struct tee_pobj *po, size_t *size,
36 TEE_Result (*create)(struct tee_pobj *po, bool overwrite,
47 TEE_Result (*rename)(struct tee_pobj *old_po, struct tee_pobj *new_po,
49 TEE_Result (*remove)(struct tee_pobj *po);
H A Dtee_obj.h23 struct tee_pobj *pobj; /* ptr to persistant object */
/optee_os/core/tee/
H A Dtee_pobj.c11 static TAILQ_HEAD(tee_pobjs, tee_pobj) tee_pobjs =
16 static bool pobj_need_usage_lock(struct tee_pobj *obj) in pobj_need_usage_lock()
23 void tee_pobj_lock_usage(struct tee_pobj *obj) in tee_pobj_lock_usage()
29 void tee_pobj_unlock_usage(struct tee_pobj *obj) in tee_pobj_unlock_usage()
82 struct tee_pobj **obj) in tee_pobj_get()
85 struct tee_pobj *o = NULL; in tee_pobj_get()
117 o = calloc(1, sizeof(struct tee_pobj)); in tee_pobj_get()
153 void tee_pobj_create_final(struct tee_pobj *po) in tee_pobj_create_final()
161 TEE_Result tee_pobj_release(struct tee_pobj *obj) in tee_pobj_release()
178 TEE_Result tee_pobj_rename(struct tee_pobj *obj, void *obj_id, in tee_pobj_rename()
H A Dsub.mk48 srcs-y += tee_pobj.c
H A Dtee_ree_fs.c707 static TEE_Result ree_fs_open(struct tee_pobj *po, size_t *size, in ree_fs_open()
747 struct tee_fs_fd *fdp, struct tee_pobj *po, in set_name()
795 static TEE_Result ree_fs_create(struct tee_pobj *po, bool overwrite, in ree_fs_create()
902 static TEE_Result ree_fs_rename(struct tee_pobj *old, struct tee_pobj *new, in ree_fs_rename()
956 static TEE_Result ree_fs_remove(struct tee_pobj *po) in ree_fs_remove()
H A Dtee_rpmb_fs.c1969 static TEE_Result create_filename(void *buf, size_t blen, struct tee_pobj *po, in create_filename()
2013 static struct rpmb_file_handle *alloc_file_handle(struct tee_pobj *po, in alloc_file_handle()
2680 static TEE_Result rpmb_fs_remove(struct tee_pobj *po) in rpmb_fs_remove()
2698 static TEE_Result rpmb_fs_rename_internal(struct tee_pobj *old, in rpmb_fs_rename_internal()
2699 struct tee_pobj *new, in rpmb_fs_rename_internal()
2760 static TEE_Result rpmb_fs_rename(struct tee_pobj *old, struct tee_pobj *new, in rpmb_fs_rename()
3019 static TEE_Result rpmb_fs_open(struct tee_pobj *po, size_t *size, in rpmb_fs_open()
3044 static TEE_Result rpmb_fs_create(struct tee_pobj *po, bool overwrite, in rpmb_fs_create()
H A Dtee_svc_storage.c176 struct tee_pobj *po = NULL; in syscall_storage_obj_open()
326 struct tee_pobj *po = NULL; in syscall_storage_obj_create()
482 struct tee_pobj *po = NULL; in syscall_storage_obj_rename()
H A Dtadb.c217 struct tee_pobj po = { in tadb_open()
/optee_os/core/pta/
H A Dattestation.c220 struct tee_pobj *po = NULL; in sec_storage_obj_read()
266 struct tee_pobj *po = NULL; in sec_storage_obj_write()
/optee_os/core/arch/arm/kernel/
H A Dstmm_sp.c681 struct tee_pobj *po = NULL; in sec_storage_obj_read()
734 struct tee_pobj *po = NULL; in sec_storage_obj_write()
/optee_os/core/kernel/
H A Dree_fs_ta.c98 struct tee_pobj pobj = { in check_update_version()