| /kernel/linux/linux-4.19/fs/afs/ |
| D | flock.c | 29 static inline void afs_set_lock_state(struct afs_vnode *vnode, enum afs_lock_state state) in afs_set_lock_state() 38 void afs_lock_may_be_available(struct afs_vnode *vnode) in afs_lock_may_be_available() 52 static void __maybe_unused afs_schedule_lock_extension(struct afs_vnode *vnode) in afs_schedule_lock_extension() 63 static void afs_grant_locks(struct afs_vnode *vnode) in afs_grant_locks() 83 static void afs_next_locker(struct afs_vnode *vnode, int error) in afs_next_locker() 127 static int afs_set_lock(struct afs_vnode *vnode, struct key *key, in afs_set_lock() 159 static int afs_extend_lock(struct afs_vnode *vnode, struct key *key) in afs_extend_lock() 190 static int afs_release_lock(struct afs_vnode *vnode, struct key *key) in afs_release_lock() 225 struct afs_vnode *vnode = in afs_lock_work() local 313 static void afs_defer_unlock(struct afs_vnode *vnode) in afs_defer_unlock() [all …]
|
| D | inode.c | 35 static int afs_inode_init_from_status(struct afs_vnode *vnode, struct key *key) in afs_inode_init_from_status() 98 int afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool new_inode) in afs_fetch_status() 151 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_iget5_set() local 169 struct afs_vnode *vnode; in afs_iget_pseudo_dir() local 238 static void afs_get_inode_cache(struct afs_vnode *vnode) in afs_get_inode_cache() 276 struct afs_vnode *vnode; in afs_iget() local 353 void afs_zap_data(struct afs_vnode *vnode) in afs_zap_data() 379 int afs_validate(struct afs_vnode *vnode, struct key *key) in afs_validate() 470 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_getattr() local 502 struct afs_vnode *vnode; in afs_evict_inode() local [all …]
|
| D | file.c | 84 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) in afs_cache_wb_key() 119 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_open() local 170 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_release() local 229 int afs_fetch_data(struct afs_vnode *vnode, struct key *key, struct afs_read *desc) in afs_fetch_data() 269 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_page_filler() local 410 struct afs_vnode *vnode = call->reply[0]; in afs_readpages_page_done() local 436 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_readpages_one() local 538 struct afs_vnode *vnode; in afs_readpages() local 602 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); in afs_invalidatepage() local 613 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); in afs_invalidatepage() local [all …]
|
| D | fsclient.c | 70 void afs_update_inode_from_status(struct afs_vnode *vnode, in afs_update_inode_from_status() 132 struct afs_vnode *vnode, in xdr_decode_AFSFetchStatus() 246 struct afs_vnode *vnode, in afs_decode_status() 267 struct afs_vnode *vnode, in xdr_decode_AFSCallBack() 390 struct afs_vnode *vnode = call->reply[0]; in afs_deliver_fs_fetch_status_vnode() local 429 struct afs_vnode *vnode = fc->vnode; in afs_fs_fetch_file_status() local 467 struct afs_vnode *vnode = call->reply[0]; in afs_deliver_fs_fetch_data() local 640 struct afs_vnode *vnode = fc->vnode; in afs_fs_fetch_data64() local 680 struct afs_vnode *vnode = fc->vnode; in afs_fs_fetch_data() local 723 struct afs_vnode *vnode = call->reply[0]; in afs_deliver_fs_create_vnode() local [all …]
|
| D | rotate.c | 24 static void afs_init_fs_cursor(struct afs_fs_cursor *fc, struct afs_vnode *vnode) in afs_init_fs_cursor() 35 bool afs_begin_vnode_operation(struct afs_fs_cursor *fc, struct afs_vnode *vnode, in afs_begin_vnode_operation() 59 struct afs_vnode *vnode) in afs_start_fs_iteration() 145 struct afs_vnode *vnode = fc->vnode; in afs_select_fileserver() local 442 struct afs_vnode *vnode = fc->vnode; in afs_select_current_fileserver() local
|
| D | write.c | 32 static int afs_fill_page(struct afs_vnode *vnode, struct key *key, in afs_fill_page() 75 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_begin() local 179 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); in afs_write_end() local 229 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_kill_pages() local 272 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_redirty_pages() local 312 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_store_data() local 398 struct afs_vnode *vnode = AFS_FS_I(mapping->host); in afs_write_back_from_locked_page() local 672 void afs_pages_written_back(struct afs_vnode *vnode, struct afs_call *call) in afs_pages_written_back() 714 struct afs_vnode *vnode = AFS_FS_I(file_inode(iocb->ki_filp)); in afs_file_write() local 744 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_fsync() local [all …]
|
| D | callback.c | 27 struct afs_vnode *vnode) in afs_create_interest() 88 int afs_register_server_cb_interest(struct afs_vnode *vnode, in afs_register_server_cb_interest() 213 void afs_break_callback(struct afs_vnode *vnode) in afs_break_callback() 243 struct afs_vnode *vnode; in afs_break_one_callback() local
|
| D | security.c | 82 void afs_clear_permits(struct afs_vnode *vnode) in afs_clear_permits() 118 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, in afs_cache_permit() 283 int afs_check_permit(struct afs_vnode *vnode, struct key *key, in afs_check_permit() 342 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_permission() local
|
| D | xattr.c | 44 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_cell() local 71 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_fid() local 98 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_xattr_get_volume() local
|
| D | super.c | 605 struct afs_vnode *vnode = _vnode; in afs_i_init_once() local 625 struct afs_vnode *vnode; in afs_alloc_inode() local 656 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_i_callback() local 665 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_destroy_inode() local 685 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_statfs() local
|
| /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 254 struct afs_vnode *vnode = vp->vnode; in afs_apply_callback() local 269 struct afs_vnode *vnode = vp->vnode; in afs_vnode_commit_status() local 315 struct afs_vnode *vnode = vp->vnode; in afs_fetch_status_success() local 338 int afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool is_new, in afs_fetch_status() 369 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_ilookup5_test_by_fid() local 395 struct afs_vnode *vnode = AFS_FS_I(inode); in afs_iget5_set() local 411 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 | 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 | 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 | 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() 111 struct afs_vnode *vnode; in afs_break_one_callback() local
|
| D | dir.c | 636 struct afs_vnode *vnode; in afs_do_lookup_success() local 746 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; in afs_do_lookup() local 1042 struct afs_vnode *vnode, *dir; in afs_d_revalidate() local 1209 struct afs_vnode *vnode = op->file[0].vnode; in afs_check_for_remote_deletion() local 1224 struct afs_vnode *vnode; in afs_vnode_new_inode() local 1323 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_dir_remove_subdir() local 1378 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; in afs_rmdir() local 1430 struct afs_vnode *vnode = op->file[1].vnode; in afs_dir_remove_link() local 1512 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); in afs_unlink() local 1665 struct afs_vnode *vnode = AFS_FS_I(d_inode(from)); in afs_link() local [all …]
|
| /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 | 78 struct Vnode *vnode = NULL; in GetFromFreeList() local 127 struct Vnode* vnode = NULL; in VnodeAlloc() local 171 int VnodeFree(struct Vnode *vnode) in VnodeFree() 212 struct Vnode *vnode = NULL; in VnodeFreeAll() local 230 struct Vnode *vnode = NULL; in VnodeInUseIter() local 291 static struct Vnode *ConvertVnodeIfMounted(struct Vnode *vnode) in ConvertVnodeIfMounted() 299 static void RefreshLRU(struct Vnode *vnode) in RefreshLRU() 309 static int ProcessVirtualVnode(struct Vnode *parent, uint32_t flags, struct Vnode **vnode) in ProcessVirtualVnode() 450 int VnodeLookup(const char *path, struct Vnode **vnode, uint32_t flags) in VnodeLookup() 455 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()
|
| /kernel/liteos_a/kernel/base/vm/ |
| D | los_vm_filemap.c | 175 struct Vnode *vnode = NULL; in OsVmmFileRemove() local 235 STATIC UINT32 GetDirtySize(LosFilePage *fpage, struct Vnode *vnode) in GetDirtySize() 267 struct Vnode *vnode = fpage->mapping->host; in OsFlushDirtyPage() local 373 struct Vnode *vnode = NULL; in OsVmmFileFault() local 512 struct Vnode *vnode = NULL; in OsNamedMMap() local
|