Home
last modified time | relevance | path

Searched refs:pobj (Results 1 – 6 of 6) sorted by relevance

/optee_os/core/tee/
H A Dtee_svc_storage.c78 o->pobj->fops->remove(o->pobj); in remove_corrupt_obj()
88 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_read_head()
94 res = fops->open(o->pobj, &size, &o->fh); in tee_svc_storage_read_head()
152 o->pobj->obj_info_usage = head.objectUsage; in tee_svc_storage_read_head()
213 o->pobj = po; in syscall_storage_obj_open()
216 tee_pobj_lock_usage(o->pobj); in syscall_storage_obj_open()
218 tee_pobj_unlock_usage(o->pobj); in syscall_storage_obj_open()
253 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_init_file()
267 o->pobj->obj_info_usage = attr_o->info.objectUsage; in tee_svc_storage_init_file()
293 head.objectUsage = o->pobj->obj_info_usage; in tee_svc_storage_init_file()
[all …]
H A Dtee_obj.c39 o->pobj->fops->close(&o->fh); in tee_obj_close()
40 tee_pobj_release(o->pobj); in tee_obj_close()
57 const struct tee_file_operations *fops = o->pobj->fops; in tee_obj_verify()
63 res = fops->open(o->pobj, NULL, &fh); in tee_obj_verify()
66 fops->remove(o->pobj); in tee_obj_verify()
H A Dtee_svc_cryp.c1190 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_get_info()
1191 o_info.obj_usage = o->pobj->obj_info_usage; in syscall_cryp_obj_get_info()
1192 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_get_info()
1219 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_restrict_usage()
1220 new_usage = o->pobj->obj_info_usage & usage; in syscall_cryp_obj_restrict_usage()
1223 o->pobj->obj_info_usage = new_usage; in syscall_cryp_obj_restrict_usage()
1224 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_restrict_usage()
1305 tee_pobj_lock_usage(o->pobj); in syscall_cryp_obj_get_attr()
1306 obj_usage = o->pobj->obj_info_usage; in syscall_cryp_obj_get_attr()
1307 tee_pobj_unlock_usage(o->pobj); in syscall_cryp_obj_get_attr()
[all …]
/optee_os/core/include/tee/
H A Dtee_obj.h23 struct tee_pobj *pobj; /* ptr to persistant object */ member
/optee_os/core/drivers/crypto/se050/core/
H A Dstorage.c41 ret = o->pobj->fops->read(o->fh, o->info.dataPosition, in crypto_storage_obj_del()
/optee_os/core/kernel/
H A Dree_fs_ta.c98 struct tee_pobj pobj = { in check_update_version() local
109 res = ops->open(&pobj, NULL, &fh); in check_update_version()
115 res = ops->create(&pobj, false, NULL, 0, NULL, 0, &db_hdr, NULL, in check_update_version()