Searched refs:dirh (Results 1 – 3 of 3) sorted by relevance
/optee_os/core/tee/ |
A D | fs_dirfile.c | 50 dirh->files = p; in maybe_grow_files() 52 bit_nclear(dirh->files, dirh->nbits, idx); in maybe_grow_files() 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() 115 struct tee_fs_dirfile_dirh *dirh = calloc(1, sizeof(*dirh)); in tee_fs_dirfile_open() local 118 if (!dirh) in tee_fs_dirfile_open() 165 if (dirh) { in tee_fs_dirfile_close() 166 dirh->fops->close(dirh->fh); in tee_fs_dirfile_close() 168 free(dirh); in tee_fs_dirfile_close() 175 return dirh->fops->commit_writes(dirh->fh, hash); in tee_fs_dirfile_commit_writes() [all …]
|
A D | tee_ree_fs.c | 543 *dirh = NULL; in close_dirh() 567 *dirh = NULL; in close_dirh() 577 *dirh = NULL; in get_dirh() 584 *dirh = ree_fs_dirh; in get_dirh() 611 if (dirh) { in put_dirh() 626 res = get_dirh(&dirh); in ree_fs_open() 650 put_dirh(dirh, true); in ree_fs_open() 798 put_dirh(dirh, res); in ree_fs_write() 851 put_dirh(dirh, res); in ree_fs_rename() 887 put_dirh(dirh, res); in ree_fs_remove() [all …]
|
/optee_os/core/include/tee/ |
A D | fs_dirfile.h | 58 struct tee_fs_dirfile_dirh **dirh); 66 void tee_fs_dirfile_close(struct tee_fs_dirfile_dirh *dirh); 73 TEE_Result tee_fs_dirfile_commit_writes(struct tee_fs_dirfile_dirh *dirh, 83 TEE_Result tee_fs_dirfile_get_tmp(struct tee_fs_dirfile_dirh *dirh, 94 TEE_Result tee_fs_dirfile_find(struct tee_fs_dirfile_dirh *dirh, 118 TEE_Result tee_fs_dirfile_rename(struct tee_fs_dirfile_dirh *dirh, 128 TEE_Result tee_fs_dirfile_remove(struct tee_fs_dirfile_dirh *dirh, 136 TEE_Result tee_fs_dirfile_update_hash(struct tee_fs_dirfile_dirh *dirh, 150 TEE_Result tee_fs_dirfile_get_next(struct tee_fs_dirfile_dirh *dirh,
|
Completed in 8 milliseconds