Home
last modified time | relevance | path

Searched refs:hmdfs_d (Results 1 - 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/
H A Dhmdfs_device_view.h156 static inline struct hmdfs_dentry_info *hmdfs_d(struct dentry *dentry) in hmdfs_d() function
204 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()
205 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path()
206 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path()
208 spin_unlock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()
220 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_put_reset_lower_path()
221 if (hmdfs_d(dent)->lower_path.dentry) { in hmdfs_put_reset_lower_path()
222 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path()
223 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path()
224 hmdfs_d(den in hmdfs_put_reset_lower_path()
[all...]
H A Dinode.c181 if (unlikely(!hmdfs_d(fst_lo_d))) { in hmdfs_iget5_locked_merge()
187 ia.ino.dev_id = hmdfs_d(fst_lo_d)->device_id; in hmdfs_iget5_locked_merge()
207 if (unlikely(!hmdfs_d(fst_lo_d))) { in hmdfs_iget5_locked_cloud_merge()
213 ia.ino.dev_id = hmdfs_d(fst_lo_d)->device_id; in hmdfs_iget5_locked_cloud_merge()
H A Dinode_remote.c121 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()
413 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote_dentry()
488 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote()
489 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id; in hmdfs_lookup_remote()
808 if (hmdfs_d(old_dentry)->device_id != hmdfs_d(new_dentry)->device_id) in hmdfs_rename_remote()
H A Ddentry.c176 switch (hmdfs_d(dentry)->dentry_type) { in hmdfs_dev_d_release()
180 path_put(&(hmdfs_d(dentry)->lower_path)); in hmdfs_dev_d_release()
203 hmdfs_d(dentry)->dentry_type); in hmdfs_dev_d_release()
H A Dhmdfs_dentryfile.c126 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_get_root_dentry_type()
191 struct hmdfs_dentry_info *di = hmdfs_d(d); in hmdfs_dentry_path_raw()
205 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()
222 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()
801 gdi = hmdfs_sb == child_dentry->d_sb ? hmdfs_d(child_dentry) : NULL; in update_dentry()
973 if (hmdfs_d(parent_dentry)->dentry_type == HMDFS_LAYER_FIRST_DEVICE) in update_inode_to_dentry()
1042 struct hmdfs_dentry_info *di = hmdfs_d(sbi->sb->s_root); in hmdfs_get_cache_path()
1411 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_cloud_cache_file()
2140 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_remote_dentry_file()
2212 struct hmdfs_dentry_info *d_info = hmdfs_d(dentr in hmdfs_find_cache_item()
[all...]
H A Dinode_root.c153 di = hmdfs_d(sb->s_root); in hmdfs_device_lookup()
180 di = hmdfs_d(sb->s_root); in hmdfs_device_lookup()
197 di = hmdfs_d(child_dentry); in hmdfs_device_lookup()
H A Dinode_cloud.c285 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry); in hmdfs_lookup_cloud_dentry()
334 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_cloud()
335 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id; in hmdfs_lookup_cloud()
H A Dinode_local.c264 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_local()
720 if (hmdfs_d(old_dentry)->device_id != hmdfs_d(new_dentry)->device_id) { in hmdfs_rename_local()
775 struct hmdfs_dentry_info *gdi = hmdfs_d(dentry); in hmdfs_symlink_local()
916 if (path->dentry == NULL || hmdfs_d(path->dentry) == NULL) { in hmdfs_getattr_local()
1015 set_sharefile_flag(hmdfs_d(child_dentry)); in hmdfs_lookup_share()
H A Dhmdfs_share.c27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
H A Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()
988 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
H A Dhmdfs_server.c614 hm_islnk(hmdfs_d(dentry)->file_type)) in hmdfs_check_and_create()
1003 struct hmdfs_dentry_info *di = hmdfs_d(peer->sbi->sb->s_root); in server_lower_dentry_path_raw()
/kernel/linux/linux-6.6/fs/hmdfs/
H A Dhmdfs_device_view.h156 static inline struct hmdfs_dentry_info *hmdfs_d(struct dentry *dentry) in hmdfs_d() function
204 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()
205 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path()
206 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path()
208 spin_unlock(&hmdfs_d(dent)->lock); in hmdfs_get_lower_path()
220 spin_lock(&hmdfs_d(dent)->lock); in hmdfs_put_reset_lower_path()
221 if (hmdfs_d(dent)->lower_path.dentry) { in hmdfs_put_reset_lower_path()
222 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path()
223 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path()
224 hmdfs_d(den in hmdfs_put_reset_lower_path()
[all...]
H A Dinode.c181 if (unlikely(!hmdfs_d(fst_lo_d))) { in hmdfs_iget5_locked_merge()
187 ia.ino.dev_id = hmdfs_d(fst_lo_d)->device_id; in hmdfs_iget5_locked_merge()
207 if (unlikely(!hmdfs_d(fst_lo_d))) { in hmdfs_iget5_locked_cloud_merge()
213 ia.ino.dev_id = hmdfs_d(fst_lo_d)->device_id; in hmdfs_iget5_locked_cloud_merge()
H A Dinode_remote.c121 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()
413 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote_dentry()
488 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_remote()
489 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id; in hmdfs_lookup_remote()
808 if (hmdfs_d(old_dentry)->device_id != hmdfs_d(new_dentry)->device_id) in hmdfs_rename_remote()
H A Ddentry.c176 switch (hmdfs_d(dentry)->dentry_type) { in hmdfs_dev_d_release()
180 path_put(&(hmdfs_d(dentry)->lower_path)); in hmdfs_dev_d_release()
203 hmdfs_d(dentry)->dentry_type); in hmdfs_dev_d_release()
H A Dhmdfs_dentryfile.c127 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in hmdfs_get_root_dentry_type()
192 struct hmdfs_dentry_info *di = hmdfs_d(d); in hmdfs_dentry_path_raw()
206 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()
223 di = hmdfs_d(dentry); in hmdfs_dentry_path_raw()
802 gdi = hmdfs_sb == child_dentry->d_sb ? hmdfs_d(child_dentry) : NULL; in update_dentry()
974 if (hmdfs_d(parent_dentry)->dentry_type == HMDFS_LAYER_FIRST_DEVICE) in update_inode_to_dentry()
1043 struct hmdfs_dentry_info *di = hmdfs_d(sbi->sb->s_root); in hmdfs_get_cache_path()
1412 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_cloud_cache_file()
2141 struct hmdfs_dentry_info *d_info = hmdfs_d(dentry); in get_remote_dentry_file()
2213 struct hmdfs_dentry_info *d_info = hmdfs_d(dentr in hmdfs_find_cache_item()
[all...]
H A Dinode_cloud.c282 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry); in hmdfs_lookup_cloud_dentry()
330 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_cloud()
331 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id; in hmdfs_lookup_cloud()
H A Dinode_root.c153 di = hmdfs_d(sb->s_root); in hmdfs_device_lookup()
180 di = hmdfs_d(sb->s_root); in hmdfs_device_lookup()
197 di = hmdfs_d(child_dentry); in hmdfs_device_lookup()
H A Dinode_local.c264 gdi = hmdfs_d(child_dentry); in hmdfs_lookup_local()
727 if (hmdfs_d(old_dentry)->device_id != hmdfs_d(new_dentry)->device_id) { in hmdfs_rename_local()
782 struct hmdfs_dentry_info *gdi = hmdfs_d(dentry); in hmdfs_symlink_local()
923 if (path->dentry == NULL || hmdfs_d(path->dentry) == NULL) { in hmdfs_getattr_local()
1023 set_sharefile_flag(hmdfs_d(child_dentry)); in hmdfs_lookup_share()
H A Dhmdfs_share.c27 gdi = hmdfs_d(cur_file->f_path.dentry); in hmdfs_is_share_file()
H A Dfile_remote.c162 __u8 file_type = hmdfs_d(file->f_path.dentry)->file_type; in hmdfs_do_open_remote()
994 struct hmdfs_dentry_info *di = hmdfs_d(file->f_path.dentry); in hmdfs_iterate_remote()
H A Dhmdfs_server.c614 hm_islnk(hmdfs_d(dentry)->file_type)) in hmdfs_check_and_create()
1003 struct hmdfs_dentry_info *di = hmdfs_d(peer->sbi->sb->s_root); in server_lower_dentry_path_raw()

Completed in 27 milliseconds