Home
last modified time | relevance | path

Searched refs:lower_path (Results 1 – 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/fs/sharefs/
Dsharefs.h58 struct path lower_path; member
88 struct path *lower_path);
159 struct path *lower_path) in sharefs_get_lower_path() argument
162 pathcpy(lower_path, &SHAREFS_D(dent)->lower_path); in sharefs_get_lower_path()
163 path_get(lower_path); in sharefs_get_lower_path()
168 struct path *lower_path) in sharefs_put_lower_path() argument
170 path_put(lower_path); in sharefs_put_lower_path()
174 struct path *lower_path) in sharefs_set_lower_path() argument
177 pathcpy(&SHAREFS_D(dent)->lower_path, lower_path); in sharefs_set_lower_path()
184 SHAREFS_D(dent)->lower_path.dentry = NULL; in sharefs_reset_lower_path()
[all …]
Dinode.c19 struct path lower_path; in sharefs_get_link() local
26 sharefs_get_lower_path(dentry, &lower_path); in sharefs_get_link()
27 lower_dentry = lower_path.dentry; in sharefs_get_link()
54 sharefs_put_lower_path(dentry, &lower_path); in sharefs_get_link()
61 struct path lower_path; in sharefs_getattr() local
64 sharefs_get_lower_path(path->dentry, &lower_path); in sharefs_getattr()
65 ret = vfs_getattr(&lower_path, stat, request_mask, flags); in sharefs_getattr()
72 sharefs_put_lower_path(path->dentry, &lower_path); in sharefs_getattr()
82 struct path lower_path; in sharefs_listxattr() local
84 sharefs_get_lower_path(dentry, &lower_path); in sharefs_listxattr()
[all …]
Dlookup.c153 struct path *lower_path) in __sharefs_interpose() argument
156 struct inode *lower_inode = d_inode(lower_path->dentry); in __sharefs_interpose()
186 struct path *lower_path) in sharefs_interpose() argument
190 ret_dentry = __sharefs_interpose(dentry, sb, lower_path); in sharefs_interpose()
209 struct path lower_path; in __sharefs_lookup() local
227 &lower_path); in __sharefs_lookup()
230 sharefs_set_lower_path(dentry, &lower_path); in __sharefs_lookup()
232 __sharefs_interpose(dentry, dentry->d_sb, &lower_path); in __sharefs_lookup()
271 lower_path.dentry = lower_dentry; in __sharefs_lookup()
272 lower_path.mnt = mntget(lower_dir_mnt); in __sharefs_lookup()
[all …]
Dmain.c35 struct path lower_path; in sharefs_fill_super() local
40 &lower_path); in sharefs_fill_super()
56 lower_sb = lower_path.dentry->d_sb; in sharefs_fill_super()
72 inode = sharefs_iget(sb, d_inode(lower_path.dentry)); in sharefs_fill_super()
98 sharefs_set_lower_path(sb->s_root, &lower_path); in sharefs_fill_super()
120 path_put(&lower_path); in sharefs_fill_super()
Dfile.c18 struct path lower_path; in sharefs_open() local
34 sharefs_get_lower_path(file->f_path.dentry, &lower_path); in sharefs_open()
35 lower_file = dentry_open(&lower_path, file->f_flags, current_cred()); in sharefs_open()
36 path_put(&lower_path); in sharefs_open()
97 struct path lower_path; in sharefs_fsync() local
104 sharefs_get_lower_path(dentry, &lower_path); in sharefs_fsync()
106 sharefs_put_lower_path(dentry, &lower_path); in sharefs_fsync()
Dsuper.c100 struct path lower_path; in sharefs_statfs() local
102 sharefs_get_lower_path(dentry, &lower_path); in sharefs_statfs()
103 err = vfs_statfs(&lower_path, buf); in sharefs_statfs()
104 sharefs_put_lower_path(dentry, &lower_path); in sharefs_statfs()
/kernel/linux/linux-5.10/fs/hmdfs/
Dinode_local.c189 struct path *lower_path) in __lookup_nosensitive() argument
218 flags, lower_path); in __lookup_nosensitive()
238 struct path lower_path, lower_parent_path; in hmdfs_lookup_local() local
264 (child_dentry->d_name.name), 0, &lower_path); in hmdfs_lookup_local()
267 &lower_path); in hmdfs_lookup_local()
272 hmdfs_set_lower_path(child_dentry, &lower_path); in hmdfs_lookup_local()
274 d_inode(lower_path.dentry), in hmdfs_lookup_local()
277 if (S_ISLNK(d_inode(lower_path.dentry)->i_mode)) in hmdfs_lookup_local()
309 lower_path.dentry = lower_dentry; in hmdfs_lookup_local()
310 lower_path.mnt = mntget(lower_parent_path.mnt); in hmdfs_lookup_local()
[all …]
Dhmdfs_device_view.h48 struct path lower_path; member
204 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path()
205 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path()
220 if (hmdfs_d(dent)->lower_path.dentry) { in hmdfs_put_reset_lower_path()
221 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path()
222 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path()
223 hmdfs_d(dent)->lower_path.dentry = NULL; in hmdfs_put_reset_lower_path()
224 hmdfs_d(dent)->lower_path.mnt = NULL; in hmdfs_put_reset_lower_path()
235 hmdfs_d(dent)->lower_path.dentry = pname->dentry; in hmdfs_set_lower_path()
236 hmdfs_d(dent)->lower_path.mnt = pname->mnt; in hmdfs_set_lower_path()
Dmain.c70 struct path lower_path; in hmdfs_xattr_local_get() local
73 hmdfs_get_lower_path(dentry, &lower_path); in hmdfs_xattr_local_get()
74 res = vfs_getxattr(lower_path.dentry, name, value, size); in hmdfs_xattr_local_get()
75 hmdfs_put_lower_path(&lower_path); in hmdfs_xattr_local_get()
131 struct path lower_path; in hmdfs_xattr_local_set() local
134 hmdfs_get_lower_path(dentry, &lower_path); in hmdfs_xattr_local_set()
136 res = vfs_setxattr(lower_path.dentry, name, value, size, flags); in hmdfs_xattr_local_set()
139 res = vfs_removexattr(lower_path.dentry, name); in hmdfs_xattr_local_set()
142 hmdfs_put_lower_path(&lower_path); in hmdfs_xattr_local_set()
354 struct path lower_path; in hmdfs_statfs() local
[all …]
Dfile_local.c27 struct path lower_path; in hmdfs_file_open_local() local
38 hmdfs_get_lower_path(file->f_path.dentry, &lower_path); in hmdfs_file_open_local()
39 lower_file = dentry_open(&lower_path, file->f_flags, cred); in hmdfs_file_open_local()
40 hmdfs_put_lower_path(&lower_path); in hmdfs_file_open_local()
244 struct path lower_path; in hmdfs_dir_open_local() local
256 hmdfs_get_lower_path(dentry, &lower_path); in hmdfs_dir_open_local()
257 lower_file = dentry_open(&lower_path, file->f_flags, cred); in hmdfs_dir_open_local()
258 hmdfs_put_lower_path(&lower_path); in hmdfs_dir_open_local()
Ddentry.c105 struct path lower_path, parent_lower_path; in hmdfs_d_revalidate() local
132 hmdfs_get_lower_path(direntry, &lower_path); in hmdfs_d_revalidate()
133 lower_dentry = lower_path.dentry; in hmdfs_d_revalidate()
165 hmdfs_put_lower_path(&lower_path); in hmdfs_d_revalidate()
180 path_put(&(hmdfs_d(dentry)->lower_path)); in hmdfs_dev_d_release()
Dinode_merge.c220 struct hmdfs_dentry_comrade *lookup_comrade(struct path lower_path, in lookup_comrade() argument
229 err = vfs_path_lookup(lower_path.dentry, lower_path.mnt, d_name, flags, in lookup_comrade()
773 struct path lower_path = { in hmdfs_getattr_merge() local
778 if (unlikely(!lower_path.dentry)) { in hmdfs_getattr_merge()
784 ret = vfs_getattr(&lower_path, stat, request_mask, flags); in hmdfs_getattr_merge()
786 dput(lower_path.dentry); in hmdfs_getattr_merge()
Dhmdfs_dentryfile.c1032 *dir = di->lower_path; in hmdfs_get_cache_path()
2365 struct path lower_path; in hmdfs_drop_remote_cache_dents() local
2382 hmdfs_get_lower_path(dentry, &lower_path); in hmdfs_drop_remote_cache_dents()
2383 if (IS_ERR_OR_NULL(lower_path.dentry)) { in hmdfs_drop_remote_cache_dents()
2384 hmdfs_put_lower_path(&lower_path); in hmdfs_drop_remote_cache_dents()
2387 lower_inode = d_inode(lower_path.dentry); in hmdfs_drop_remote_cache_dents()
2388 hmdfs_put_lower_path(&lower_path); in hmdfs_drop_remote_cache_dents()
2505 struct path lower_path; in hmdfs_rename_bak() local
2513 hmdfs_get_lower_path(dentry, &lower_path); in hmdfs_rename_bak()
2514 lower_dentry = lower_path.dentry; in hmdfs_rename_bak()
[all …]
Dhmdfs_merge_view.h115 struct hmdfs_dentry_comrade *lookup_comrade(struct path lower_path,
Dinode_root.c154 root_lower_path = &(di->lower_path); in hmdfs_device_lookup()
Dhmdfs_server.c926 struct dentry *lo_d_root = di->lower_path.dentry; in server_lower_dentry_path_raw()
/kernel/linux/linux-5.10/fs/ecryptfs/
Ddentry.c70 path_put(&p->lower_path); in ecryptfs_d_release()
Decryptfs_kernel.h264 struct path lower_path; member
515 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower()
521 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt()
527 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
Dinode.c338 dentry_info->lower_path.mnt = mntget(path->mnt); in ecryptfs_lookup_interpose()
339 dentry_info->lower_path.dentry = lower_dentry; in ecryptfs_lookup_interpose()
Dmain.c595 root_info->lower_path = path; in ecryptfs_mount()