/kernel/linux/linux-5.10/fs/sharefs/ |
D | sharefs.h | 58 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 …]
|
D | inode.c | 19 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 …]
|
D | lookup.c | 153 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 …]
|
D | main.c | 35 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()
|
D | file.c | 18 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()
|
D | super.c | 100 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/ |
D | inode_local.c | 189 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 …]
|
D | hmdfs_device_view.h | 48 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()
|
D | main.c | 70 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 …]
|
D | file_local.c | 27 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()
|
D | dentry.c | 105 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()
|
D | inode_merge.c | 220 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()
|
D | hmdfs_dentryfile.c | 1032 *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 …]
|
D | hmdfs_merge_view.h | 115 struct hmdfs_dentry_comrade *lookup_comrade(struct path lower_path,
|
D | inode_root.c | 154 root_lower_path = &(di->lower_path); in hmdfs_device_lookup()
|
D | hmdfs_server.c | 926 struct dentry *lo_d_root = di->lower_path.dentry; in server_lower_dentry_path_raw()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | dentry.c | 70 path_put(&p->lower_path); in ecryptfs_d_release()
|
D | ecryptfs_kernel.h | 264 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()
|
D | inode.c | 338 dentry_info->lower_path.mnt = mntget(path->mnt); in ecryptfs_lookup_interpose() 339 dentry_info->lower_path.dentry = lower_dentry; in ecryptfs_lookup_interpose()
|
D | main.c | 595 root_info->lower_path = path; in ecryptfs_mount()
|