| /optee_os/core/tee/ |
| H A D | tee_obj.c | 39 o->pobj->fops->close(&o->fh); in tee_obj_close() 57 const struct tee_file_operations *fops = o->pobj->fops; in tee_obj_verify() local 60 if (!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() 70 fops->close(&fh); in tee_obj_verify()
|
| H A D | tee_svc_storage.c | 39 const struct tee_file_operations *fops; member 65 if (e->fops) in tee_svc_close_enum() 66 e->fops->closedir(e->dir); in tee_svc_close_enum() 69 e->fops = NULL; in tee_svc_close_enum() 78 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() local 94 res = fops->open(o->pobj, &size, &o->fh); in tee_svc_storage_read_head() 100 res = fops->read(o->fh, 0, &head, NULL, &bytes); in tee_svc_storage_read_head() 136 res = fops->read(o->fh, sizeof(struct tee_svc_storage_head), in tee_svc_storage_read_head() 171 const struct tee_file_operations *fops = in syscall_storage_obj_open() local [all …]
|
| H A D | fs_dirfile.c | 15 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, dent, 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, min_counter, 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, counter); in tee_fs_dirfile_commit_writes()
|
| H A D | tee_pobj.c | 81 const struct tee_file_operations *fops, in tee_pobj_get() argument 95 (fops == o->fops)) { in tee_pobj_get() 126 o->fops = fops; in tee_pobj_get()
|
| /optee_os/core/pta/ |
| H A D | attestation.c | 217 const struct tee_file_operations *fops = NULL; in sec_storage_obj_read() local 224 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_read() 225 if (!fops) in sec_storage_obj_read() 232 TEE_POBJ_USAGE_OPEN, fops, &po); in sec_storage_obj_read() 236 res = po->fops->open(po, &file_size, &fh); in sec_storage_obj_read() 241 res = po->fops->read(fh, offset, data, NULL, &read_len); in sec_storage_obj_read() 244 po->fops->remove(po); in sec_storage_obj_read() 249 po->fops->close(&fh); in sec_storage_obj_read() 263 const struct tee_file_operations *fops = NULL; in sec_storage_obj_write() local 268 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_write() [all …]
|
| /optee_os/core/include/tee/ |
| H A D | tee_pobj.h | 25 const struct tee_file_operations *fops; member 37 const struct tee_file_operations *fops,
|
| H A D | fs_dirfile.h | 60 const struct tee_fs_dirfile_operations *fops,
|
| /optee_os/core/arch/arm/kernel/ |
| H A D | stmm_sp.c | 677 const struct tee_file_operations *fops = NULL; in sec_storage_obj_read() local 685 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_read() 686 if (!fops) in sec_storage_obj_read() 695 TEE_POBJ_USAGE_OPEN, fops, &po); in sec_storage_obj_read() 699 res = po->fops->open(po, &file_size, &fh); in sec_storage_obj_read() 704 res = po->fops->read(fh, offset, NULL, data, &read_len); in sec_storage_obj_read() 707 po->fops->remove(po); in sec_storage_obj_read() 712 po->fops->close(&fh); in sec_storage_obj_read() 730 const struct tee_file_operations *fops = NULL; in sec_storage_obj_write() local 736 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_write() [all …]
|
| /optee_os/core/drivers/crypto/se050/core/ |
| H A D | storage.c | 41 ret = o->pobj->fops->read(o->fh, o->info.dataPosition, in crypto_storage_obj_del()
|