Searched refs:hmdfs_d (Results 1 – 10 of 10) sorted by relevance
143 static inline struct hmdfs_dentry_info *hmdfs_d(struct dentry *dentry) in hmdfs_d() function191 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()192 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path()193 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path()195 spin_unlock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()207 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_put_reset_lower_path()208 if (hmdfs_d(dent)->lower_path.dentry) { in hmdfs_put_reset_lower_path()209 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path()210 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path()211 hmdfs_d(dent)->lower_path.dentry = NULL; in hmdfs_put_reset_lower_path()[all …]
175 switch (hmdfs_d(dentry)->dentry_type) { in hmdfs_dev_d_release()179 path_put(&(hmdfs_d(dentry)->lower_path)); in hmdfs_dev_d_release()191 hmdfs_d(dentry)->dentry_type); in hmdfs_dev_d_release()
126 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_get_root_dentry_type()186 struct hmdfs_dentry_info *di = hmdfs_d(d); in hmdfs_dentry_path_raw()200 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()217 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()936 if (hmdfs_d(parent_dentry)->dentry_type == HMDFS_LAYER_FIRST_DEVICE) in update_inode_to_dentry()1005 struct hmdfs_dentry_info *di = hmdfs_d(sbi->sb->s_root); in hmdfs_get_cache_path()1996 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_remote_dentry_file()2068 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_find_cache_item()2090 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_cache_revalidate()2136 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_remove_cache_filp()[all …]
121 hmdfs_d(dentry)->async_readdir_in_progress = 0; in hmdfs_remote_readdir_work()143 if (cmpxchg_relaxed(&hmdfs_d(dentry)->async_readdir_in_progress, 0, in get_remote_dentry_file_in_wq()149 hmdfs_d(dentry)->async_readdir_in_progress = 0; in get_remote_dentry_file_in_wq()420 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote_dentry()493 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote()494 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id; in hmdfs_lookup_remote()
123 di = hmdfs_d(sb->s_root); in hmdfs_device_lookup()145 di = hmdfs_d(child_dentry); in hmdfs_device_lookup()
162 ia.ino.dev_id = hmdfs_d(fst_lo_d)->device_id; in hmdfs_iget5_locked_merge()
27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
247 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_local()833 set_sharefile_flag(hmdfs_d(child_dentry)); in hmdfs_lookup_share()
162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()985 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
1001 struct hmdfs_dentry_info *di = hmdfs_d(peer->sbi->sb->s_root); in server_lower_dentry_path_raw()