Home
last modified time | relevance | path

Searched refs:po (Results 1 – 7 of 7) sorted by relevance

/optee_os/core/tee/
A Dtee_ree_fs.c617 static TEE_Result ree_fs_open(struct tee_pobj *po, size_t *size, in ree_fs_open() argument
630 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in ree_fs_open()
657 struct tee_fs_fd *fdp, struct tee_pobj *po, in set_name() argument
664 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in set_name()
678 res = tee_fs_dirfile_rename(dirh, &po->uuid, &fdp->dfh, in set_name()
679 po->obj_id, po->obj_id_len); in set_name()
728 res = ree_fs_open_primitive(true, dfh.hash, &po->uuid, &dfh, fh); in ree_fs_create()
757 res = set_name(dirh, fdp, po, overwrite); in ree_fs_create()
858 static TEE_Result ree_fs_remove(struct tee_pobj *po) in ree_fs_remove() argument
869 res = tee_fs_dirfile_find(dirh, &po->uuid, po->obj_id, po->obj_id_len, in ree_fs_remove()
[all …]
A Dtee_svc_storage.c178 struct tee_pobj *po = NULL; in syscall_storage_obj_open() local
202 &po); in syscall_storage_obj_open()
208 tee_pobj_release(po); in syscall_storage_obj_open()
215 o->pobj = po; in syscall_storage_obj_open()
324 struct tee_pobj *po = NULL; in syscall_storage_obj_create() local
343 fops, &po); in syscall_storage_obj_create()
372 o->pobj = po; in syscall_storage_obj_create()
408 fops->remove(po); in syscall_storage_obj_create()
413 if (po) in syscall_storage_obj_create()
414 tee_pobj_release(po); in syscall_storage_obj_create()
[all …]
A Dtee_pobj.c134 void tee_pobj_create_final(struct tee_pobj *po) in tee_pobj_create_final() argument
137 po->temporary = false; in tee_pobj_create_final()
138 po->creating = false; in tee_pobj_create_final()
A Dtee_rpmb_fs.c1942 pos += tee_b2hs((uint8_t *)&po->uuid, &file[pos], in create_filename()
1949 tee_b2hs(po->obj_id, file + pos, po->obj_id_len, hslen - pos); in create_filename()
1978 if (po) in alloc_file_handle()
2613 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_remove()
2952 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_open()
2959 res = rpmb_fs_open_internal(fh, &po->uuid, false); in rpmb_fs_open()
2981 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_create()
2987 res = rpmb_fs_open_internal(fh, &po->uuid, true); in rpmb_fs_create()
3011 if (po->temporary) { in rpmb_fs_create()
3017 po->temporary = false; in rpmb_fs_create()
[all …]
A Dtadb.c217 struct tee_pobj po = { in tadb_open() local
227 res = db->ops->open(&po, NULL, &db->fh); in tadb_open()
229 res = db->ops->create(&po, false, NULL, 0, NULL, 0, NULL, 0, in tadb_open()
/optee_os/core/arch/arm/kernel/
A Dstmm_sp.c636 struct tee_pobj *po = NULL; in sec_storage_obj_read() local
657 false, fops, &po); in sec_storage_obj_read()
661 res = po->fops->open(po, &file_size, &fh); in sec_storage_obj_read()
669 po->fops->remove(po); in sec_storage_obj_read()
674 po->fops->close(&fh); in sec_storage_obj_read()
677 tee_pobj_release(po); in sec_storage_obj_read()
716 false, fops, &po); in sec_storage_obj_write()
720 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
722 res = po->fops->create(po, false, NULL, 0, NULL, 0, NULL, 0, in sec_storage_obj_write()
726 po->fops->close(&fh); in sec_storage_obj_write()
[all …]
/optee_os/core/include/tee/
A Dtee_fs.h32 TEE_Result (*open)(struct tee_pobj *po, size_t *size,
34 TEE_Result (*create)(struct tee_pobj *po, bool overwrite,
46 TEE_Result (*remove)(struct tee_pobj *po);

Completed in 30 milliseconds