| /kernel/linux/linux-5.10/fs/afs/ |
| D | flock.c | 25 static inline void afs_set_lock_state(struct afs_vnode *vnode, enum afs_lock_state state) in afs_set_lock_state() 36 void afs_lock_may_be_available(struct afs_vnode *vnode) in afs_lock_may_be_available() 51 static void afs_schedule_lock_extension(struct afs_vnode *vnode) in afs_schedule_lock_extension() 74 struct afs_vnode *vnode = op->file[0].vnode; in afs_lock_op_done() local 90 static void afs_grant_locks(struct afs_vnode *vnode) in afs_grant_locks() 111 static void afs_next_locker(struct afs_vnode *vnode, int error) in afs_next_locker() 158 static void afs_kill_lockers_enoent(struct afs_vnode *vnode) in afs_kill_lockers_enoent() 192 static int afs_set_lock(struct afs_vnode *vnode, struct key *key, in afs_set_lock() 224 static int afs_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_extend_lock() 255 static int afs_release_lock(struct afs_vnode *vnode, struct key *key) in afs_release_lock() [all …]
|
| D | inode.c | 32 static noinline void dump_vnode(struct afs_vnode *vnode, struct afs_vnode *parent_vnode) in dump_vnode() 61 struct afs_vnode *vnode) in afs_inode_init_from_status() 156 struct afs_vnode *vnode = vp->vnode; in afs_apply_status() local 255 struct afs_vnode *vnode = vp->vnode; in afs_apply_callback() local 270 struct afs_vnode *vnode = vp->vnode; in afs_vnode_commit_status() local 316 struct afs_vnode *vnode = vp->vnode; in afs_fetch_status_success() local 339 int afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool is_new, in afs_fetch_status() 370 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_ilookup5_test_by_fid() local 396 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_iget5_set() local 412 static void afs_get_inode_cache(struct afs_vnode *vnode) in afs_get_inode_cache() [all …]
|
| D | file.c | 81 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() 116 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_open() local 167 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_release() local 225 struct afs_vnode *vnode = op->file[0].vnode; in afs_fetch_data_success() local 249 int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *req) in afs_fetch_data() 277 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_page_filler() local 419 struct afs_vnode *vnode = req->vnode; in afs_readpages_page_done() local 445 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_readpages_one() local 547 struct afs_vnode *vnode; in afs_readpages() local 610 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); in afs_invalidate_dirty() local [all …]
|
| D | write.c | 28 static int afs_fill_page(struct afs_vnode *vnode, struct key *key, in afs_fill_page() 81 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_begin() local 166 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_end() local 241 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_kill_pages() local 284 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_redirty_pages() local 320 static void afs_pages_written_back(struct afs_vnode *vnode, in afs_pages_written_back() 361 static int afs_get_writeback_key(struct afs_vnode *vnode, in afs_get_writeback_key() 399 struct afs_vnode *vnode = op->file[0].vnode; in afs_store_data_success() local 426 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_store_data() local 499 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_write_back_from_locked_page() local [all …]
|
| D | dir_silly.c | 27 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); in afs_silly_rename_edit_dir() local 60 static int afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_rename() 100 int afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_sillyrename() 192 static int afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_unlink() 238 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_silly_iput() local
|
| D | fs_operation.c | 55 struct afs_vnode *vnode = op->file[0].vnode; in afs_get_io_locks() local 99 struct afs_vnode *vnode = op->file[0].vnode; in afs_drop_io_locks() local 113 struct afs_vnode *vnode = vp->vnode; in afs_prepare_vnode() local 138 struct afs_vnode *vnode = op->file[0].vnode; in afs_begin_vnode_operation() local
|
| D | xattr.c | 42 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_acl() local 105 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_acl() local 143 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_yfs() local 235 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_yfs() local 271 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_cell() local 298 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_fid() local 336 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_volume() local
|
| D | security.c | 107 void afs_clear_permits(struct afs_vnode *vnode) in afs_clear_permits() 143 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, in afs_cache_permit() 304 static bool afs_check_permit_rcu(struct afs_vnode *vnode, struct key *key, in afs_check_permit_rcu() 343 int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit() 401 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_permission() local
|
| D | callback.c | 40 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in __afs_break_callback() 58 void afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in afs_break_callback() 112 struct afs_vnode *vnode; in afs_break_one_callback() local
|
| D | dir.c | 647 struct afs_vnode *vnode; in afs_do_lookup_success() local 757 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; in afs_do_lookup() local 1053 struct afs_vnode *vnode, *dir; in afs_d_revalidate() local 1220 struct afs_vnode *vnode = op->file[0].vnode; in afs_check_for_remote_deletion() local 1235 struct afs_vnode *vnode; in afs_vnode_new_inode() local 1335 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_dir_remove_subdir() local 1390 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; in afs_rmdir() local 1442 struct afs_vnode *vnode = op->file[1].vnode; in afs_dir_remove_link() local 1524 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_unlink() local 1678 struct afs_vnode *vnode = AFS_FS_I(d_inode(from)); in afs_link() local [all …]
|
| /kernel/linux/linux-6.6/fs/afs/ |
| D | flock.c | 25 static inline void afs_set_lock_state(struct afs_vnode *vnode, enum afs_lock_state state) in afs_set_lock_state() 36 void afs_lock_may_be_available(struct afs_vnode *vnode) in afs_lock_may_be_available() 51 static void afs_schedule_lock_extension(struct afs_vnode *vnode) in afs_schedule_lock_extension() 74 struct afs_vnode *vnode = op->file[0].vnode; in afs_lock_op_done() local 90 static void afs_grant_locks(struct afs_vnode *vnode) in afs_grant_locks() 111 static void afs_next_locker(struct afs_vnode *vnode, int error) in afs_next_locker() 158 static void afs_kill_lockers_enoent(struct afs_vnode *vnode) in afs_kill_lockers_enoent() 192 static int afs_set_lock(struct afs_vnode *vnode, struct key *key, in afs_set_lock() 224 static int afs_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_extend_lock() 255 static int afs_release_lock(struct afs_vnode *vnode, struct key *key) in afs_release_lock() [all …]
|
| D | inode.c | 32 static noinline void dump_vnode(struct afs_vnode *vnode, struct afs_vnode *parent_vnode) in dump_vnode() 59 static void afs_set_netfs_context(struct afs_vnode *vnode) in afs_set_netfs_context() 69 struct afs_vnode *vnode) in afs_inode_init_from_status() 167 struct afs_vnode *vnode = vp->vnode; in afs_apply_status() local 268 struct afs_vnode *vnode = vp->vnode; in afs_apply_callback() local 283 struct afs_vnode *vnode = vp->vnode; in afs_vnode_commit_status() local 329 struct afs_vnode *vnode = vp->vnode; in afs_fetch_status_success() local 352 int afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool is_new, in afs_fetch_status() 383 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_ilookup5_test_by_fid() local 409 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_iget5_set() local [all …]
|
| D | file.c | 97 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() 132 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_open() local 186 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_release() local 263 struct afs_vnode *vnode = op->file[0].vnode; in afs_fetch_data_success() local 290 int afs_fetch_data(struct afs_vnode *vnode, struct afs_read *req) in afs_fetch_data() 317 struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode); in afs_issue_read() local 341 struct afs_vnode *vnode = AFS_FS_I(folio->mapping->host); in afs_symlink_read_folio() local 372 struct afs_vnode *vnode = AFS_FS_I(rreq->inode); in afs_begin_cache_operation() local 384 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_check_write_begin() local 415 struct afs_vnode *vnode = AFS_FS_I(folio_inode(folio)); in afs_invalidate_dirty() local [all …]
|
| D | write.c | 72 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_begin() local 158 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_end() local 223 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_kill_pages() local 261 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_redirty_pages() local 290 static void afs_pages_written_back(struct afs_vnode *vnode, loff_t start, unsigned int len) in afs_pages_written_back() 327 static int afs_get_writeback_key(struct afs_vnode *vnode, in afs_get_writeback_key() 365 struct afs_vnode *vnode = op->file[0].vnode; in afs_store_data_success() local 386 static int afs_store_data(struct afs_vnode *vnode, struct iov_iter *iter, loff_t pos, in afs_store_data() 462 struct afs_vnode *vnode, in afs_extend_writeback() 586 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_write_back_from_locked_folio() local [all …]
|
| D | callback.c | 31 struct afs_vnode *vnode = container_of(work, struct afs_vnode, cb_work); in afs_invalidate_mmap_work() local 39 struct afs_vnode *vnode; in afs_server_init_callback_work() local 74 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in __afs_break_callback() 98 void afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in afs_break_callback() 152 struct afs_vnode *vnode; in afs_break_one_callback() local
|
| D | dir_silly.c | 27 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); in afs_silly_rename_edit_dir() local 60 static int afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_rename() 100 int afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_sillyrename() 192 static int afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, in afs_do_silly_unlink() 238 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_silly_iput() local
|
| D | fs_operation.c | 55 struct afs_vnode *vnode = op->file[0].vnode; in afs_get_io_locks() local 99 struct afs_vnode *vnode = op->file[0].vnode; in afs_drop_io_locks() local 113 struct afs_vnode *vnode = vp->vnode; in afs_prepare_vnode() local 138 struct afs_vnode *vnode = op->file[0].vnode; in afs_begin_vnode_operation() local
|
| D | xattr.c | 42 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_acl() local 106 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_acl() local 144 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_yfs() local 237 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_set_yfs() local 273 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_cell() local 300 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_fid() local 338 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_volume() local
|
| D | security.c | 107 void afs_clear_permits(struct afs_vnode *vnode) in afs_clear_permits() 143 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, in afs_cache_permit() 303 static bool afs_check_permit_rcu(struct afs_vnode *vnode, struct key *key, in afs_check_permit_rcu() 342 int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit() 401 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_permission() local
|
| D | dir.c | 684 struct afs_vnode *vnode; in afs_do_lookup_success() local 794 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; in afs_do_lookup() local 1090 struct afs_vnode *vnode, *dir; in afs_d_revalidate() local 1257 struct afs_vnode *vnode = op->file[0].vnode; in afs_check_for_remote_deletion() local 1272 struct afs_vnode *vnode; in afs_vnode_new_inode() local 1373 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_dir_remove_subdir() local 1428 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; in afs_rmdir() local 1485 struct afs_vnode *vnode = op->file[1].vnode; in afs_dir_remove_link() local 1567 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_unlink() local 1721 struct afs_vnode *vnode = AFS_FS_I(d_inode(from)); in afs_link() local [all …]
|
| D | dir_edit.c | 110 static struct folio *afs_dir_get_folio(struct afs_vnode *vnode, pgoff_t index) in afs_dir_get_folio() 206 void afs_edit_dir_add(struct afs_vnode *vnode, in afs_edit_dir_add() 374 void afs_edit_dir_remove(struct afs_vnode *vnode, in afs_edit_dir_remove() 500 void afs_edit_dir_update_dotdot(struct afs_vnode *vnode, struct afs_vnode *new_dvnode, in afs_edit_dir_update_dotdot()
|
| /kernel/liteos_a/fs/vfs/operation/ |
| D | vfs_force_umount.c | 38 static int ErrorVopCreate(struct Vnode *parent, const char *name, int mode, struct Vnode **vnode) in ErrorVopCreate() 47 static int ErrorVopLookup(struct Vnode *parent, const char *name, int len, struct Vnode **vnode) in ErrorVopLookup() 56 static int ErrorVopOpen(struct Vnode *vnode, int fd, int mode, int flags) in ErrorVopOpen() 65 static int ErrorVopClose(struct Vnode *vnode) in ErrorVopClose() 72 static int ErrorVopReclaim(struct Vnode *vnode) in ErrorVopReclaim() 78 static int ErrorVopUnlink(struct Vnode *parent, struct Vnode *vnode, const char *fileName) in ErrorVopUnlink() 86 static int ErrorVopRmdir(struct Vnode *parent, struct Vnode *vnode, const char *dirName) in ErrorVopRmdir() 94 …tic int ErrorVopMkdir(struct Vnode *parent, const char *dirName, mode_t mode, struct Vnode **vnode) in ErrorVopMkdir() 103 static int ErrorVopReaddir(struct Vnode *vnode, struct fs_dirent_s *dir) in ErrorVopReaddir() 110 static int ErrorVopOpendir(struct Vnode *vnode, struct fs_dirent_s *dir) in ErrorVopOpendir() [all …]
|
| /kernel/liteos_a/fs/vfs/ |
| D | vnode.c | 87 struct Vnode *vnode = NULL; in GetFromFreeList() local 136 struct Vnode* vnode = NULL; in VnodeAlloc() local 180 int VnodeFree(struct Vnode *vnode) in VnodeFree() 221 struct Vnode *vnode = NULL; in VnodeFreeAll() local 239 struct Vnode *vnode = NULL; in VnodeInUseIter() local 300 static struct Vnode *ConvertVnodeIfMounted(struct Vnode *vnode) in ConvertVnodeIfMounted() 322 static void RefreshLRU(struct Vnode *vnode) in RefreshLRU() 332 static int ProcessVirtualVnode(struct Vnode *parent, uint32_t flags, struct Vnode **vnode) in ProcessVirtualVnode() 473 int VnodeLookup(const char *path, struct Vnode **vnode, uint32_t flags) in VnodeLookup() 478 int VnodeLookupFullpath(const char *fullpath, struct Vnode **vnode, uint32_t flags) in VnodeLookupFullpath() [all …]
|
| D | vnode_hash.c | 76 uint32_t VfsHashIndex(struct Vnode *vnode) in VfsHashIndex() 89 int VfsHashGet(const struct Mount *mount, uint32_t hash, struct Vnode **vnode, VfsHashCmp *fn, void… in VfsHashGet() 118 void VfsHashRemove(struct Vnode *vnode) in VfsHashRemove() 128 int VfsHashInsert(struct Vnode *vnode, uint32_t hash) in VfsHashInsert()
|
| D | path_cache.c | 112 struct PathCache *PathCacheAlloc(struct Vnode *parent, struct Vnode *vnode, const char *name, uint8… in PathCacheAlloc() 162 int PathCacheLookup(struct Vnode *parent, const char *name, int len, struct Vnode **vnode) in PathCacheLookup() 179 static void FreeChildPathCache(struct Vnode *vnode) in FreeChildPathCache() 189 static void FreeParentPathCache(struct Vnode *vnode) in FreeParentPathCache() 199 void VnodePathCacheFree(struct Vnode *vnode) in VnodePathCacheFree()
|