Home
last modified time | relevance | path

Searched refs:fops (Results 1 – 9 of 9) sorted by relevance

/optee_os-3.20.0/core/tee/
A Dtee_obj.c40 o->pobj->fops->close(&o->fh); in tee_obj_close()
58 const struct tee_file_operations *fops = o->pobj->fops; in tee_obj_verify() local
61 if (!fops) in tee_obj_verify()
64 res = fops->open(o->pobj, NULL, &fh); in tee_obj_verify()
67 fops->remove(o->pobj); in tee_obj_verify()
71 fops->close(&fh); in tee_obj_verify()
A Dtee_svc_storage.c66 if (e->fops) in tee_svc_close_enum()
70 e->fops = NULL; in tee_svc_close_enum()
91 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_read_head() local
185 if (!fops) { in syscall_storage_obj_open()
256 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_init_file() local
331 if (!fops) in syscall_storage_obj_create()
498 fops = o->pobj->fops; in syscall_storage_obj_rename()
535 e->fops = NULL; in syscall_storage_alloc_enum()
567 if (e->fops) { in syscall_storage_reset_enum()
596 if (!fops) in syscall_storage_start_enum()
[all …]
A Dtee_pobj.c62 const struct tee_file_operations *fops, in tee_pobj_get() argument
76 (fops == o->fops)) { in tee_pobj_get()
107 o->fops = fops; in tee_pobj_get()
A Dfs_dirfile.c15 const struct tee_fs_dirfile_operations *fops; member
103 res = dirh->fops->read(dirh->fh, sizeof(struct dirfile_entry) * idx, in read_dent()
116 res = dirh->fops->write(dirh->fh, sizeof(*dent) * n, in write_dent()
125 const struct tee_fs_dirfile_operations *fops, in tee_fs_dirfile_open() argument
135 dirh->fops = fops; in tee_fs_dirfile_open()
136 res = fops->open(create, hash, NULL, NULL, &dirh->fh); in tee_fs_dirfile_open()
180 dirh->fops->close(dirh->fh); in tee_fs_dirfile_close()
189 return dirh->fops->commit_writes(dirh->fh, hash); in tee_fs_dirfile_commit_writes()
/optee_os-3.20.0/core/include/tee/
A Dtee_pobj.h24 const struct tee_file_operations *fops; member
36 const struct tee_file_operations *fops,
A Dfs_dirfile.h57 const struct tee_fs_dirfile_operations *fops,
/optee_os-3.20.0/core/pta/
A Dattestation.c211 const struct tee_file_operations *fops = NULL; in sec_storage_obj_read() local
218 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_read()
219 if (!fops) 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()
262 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_write()
263 if (!fops) in sec_storage_obj_write()
270 fops, &po); in sec_storage_obj_write()
274 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
[all …]
/optee_os-3.20.0/core/arch/arm/kernel/
A Dstmm_sp.c650 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_read()
651 if (!fops) in sec_storage_obj_read()
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()
709 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_write()
710 if (!fops) in sec_storage_obj_write()
726 false, fops, &po); in sec_storage_obj_write()
730 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
[all …]
/optee_os-3.20.0/core/drivers/crypto/se050/core/
A Dstorage.c41 ret = o->pobj->fops->read(o->fh, o->info.dataPosition, data, &len); in crypto_storage_obj_del()

Completed in 12 milliseconds