Searched refs:dirh (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/tee/ |
A D | fs_dirfile.c | 64 dirh->files = p; in maybe_grow_files() 66 bit_nclear(dirh->files, dirh->nbits, idx); in maybe_grow_files() 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() 129 struct tee_fs_dirfile_dirh *dirh = calloc(1, sizeof(*dirh)); in tee_fs_dirfile_open() local 132 if (!dirh) in tee_fs_dirfile_open() 179 if (dirh) { in tee_fs_dirfile_close() 180 dirh->fops->close(dirh->fh); in tee_fs_dirfile_close() 182 free(dirh); in tee_fs_dirfile_close() 189 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-3.20.0/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 6 milliseconds