Home
last modified time | relevance | path

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

/optee_os/core/tee/
A Dtee_svc_storage.c65 if (e->fops) in tee_svc_close_enum()
69 e->fops = NULL; in tee_svc_close_enum()
90 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_read_head() local
185 if (!fops) { in syscall_storage_obj_open()
255 const struct tee_file_operations *fops = o->pobj->fops; in tee_svc_storage_init_file() local
330 if (!fops) in syscall_storage_obj_create()
497 fops = o->pobj->fops; in syscall_storage_obj_rename()
534 e->fops = NULL; in syscall_storage_alloc_enum()
566 if (e->fops) { in syscall_storage_reset_enum()
595 if (!fops) in syscall_storage_start_enum()
[all …]
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 Dfs_dirfile.c15 const struct tee_fs_dirfile_operations *fops; member
89 res = dirh->fops->read(dirh->fh, sizeof(struct dirfile_entry) * idx, in read_dent()
102 res = dirh->fops->write(dirh->fh, sizeof(*dent) * n, in write_dent()
111 const struct tee_fs_dirfile_operations *fops, in tee_fs_dirfile_open() argument
121 dirh->fops = fops; in tee_fs_dirfile_open()
122 res = fops->open(create, hash, NULL, NULL, &dirh->fh); in tee_fs_dirfile_open()
166 dirh->fops->close(dirh->fh); in tee_fs_dirfile_close()
175 return dirh->fops->commit_writes(dirh->fh, hash); in tee_fs_dirfile_commit_writes()
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()
/optee_os/core/arch/arm/kernel/
A Dstmm_sp.c640 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_read()
641 if (!fops) in sec_storage_obj_read()
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()
699 fops = tee_svc_storage_file_ops(storage_id); in sec_storage_obj_write()
700 if (!fops) in sec_storage_obj_write()
716 false, fops, &po); in sec_storage_obj_write()
720 res = po->fops->open(po, NULL, &fh); in sec_storage_obj_write()
[all …]
/optee_os/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,

Completed in 9 milliseconds