Home
last modified time | relevance | path

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

/optee_os-3.20.0/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.c179 struct tee_pobj *po = NULL; in syscall_storage_obj_open() local
205 &po); in syscall_storage_obj_open()
211 tee_pobj_release(po); in syscall_storage_obj_open()
218 o->pobj = po; in syscall_storage_obj_open()
325 struct tee_pobj *po = NULL; in syscall_storage_obj_create() local
349 fops, &po); in syscall_storage_obj_create()
378 o->pobj = po; in syscall_storage_obj_create()
414 fops->remove(po); in syscall_storage_obj_create()
419 if (po) in syscall_storage_obj_create()
420 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()
2617 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_remove()
2958 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_open()
2965 res = rpmb_fs_open_internal(fh, &po->uuid, false); in rpmb_fs_open()
2987 struct rpmb_file_handle *fh = alloc_file_handle(po, po->temporary); in rpmb_fs_create()
2993 res = rpmb_fs_open_internal(fh, &po->uuid, true); in rpmb_fs_create()
3017 if (po->temporary) { in rpmb_fs_create()
3023 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-3.20.0/core/pta/
A Dattestation.c214 struct tee_pobj *po = NULL; in sec_storage_obj_read() local
226 &po); in sec_storage_obj_read()
230 res = po->fops->open(po, &file_size, &fh); in sec_storage_obj_read()
238 po->fops->remove(po); in sec_storage_obj_read()
243 po->fops->close(&fh); in sec_storage_obj_read()
245 tee_pobj_release(po); in sec_storage_obj_read()
270 fops, &po); in sec_storage_obj_write()
274 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
276 res = po->fops->create(po, false, NULL, 0, NULL, 0, NULL, 0, in sec_storage_obj_write()
280 po->fops->close(&fh); in sec_storage_obj_write()
[all …]
/optee_os-3.20.0/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);
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c646 struct tee_pobj *po = NULL; in sec_storage_obj_read() local
667 false, fops, &po); in sec_storage_obj_read()
671 res = po->fops->open(po, &file_size, &fh); in sec_storage_obj_read()
679 po->fops->remove(po); in sec_storage_obj_read()
684 po->fops->close(&fh); in sec_storage_obj_read()
687 tee_pobj_release(po); in sec_storage_obj_read()
726 false, fops, &po); in sec_storage_obj_write()
730 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
732 res = po->fops->create(po, false, NULL, 0, NULL, 0, NULL, 0, in sec_storage_obj_write()
736 po->fops->close(&fh); in sec_storage_obj_write()
[all …]

Completed in 18 milliseconds