/fs/sdcardfs/ |
D | inode.c | 70 struct path lower_path; in sdcardfs_create() local 83 sdcardfs_get_lower_path(dentry, &lower_path); in sdcardfs_create() 84 lower_dentry = lower_path.dentry; in sdcardfs_create() 85 lower_dentry_mnt = lower_path.mnt; in sdcardfs_create() 104 err = sdcardfs_interpose(dentry, dir->i_sb, &lower_path, in sdcardfs_create() 117 sdcardfs_put_lower_path(dentry, &lower_path); in sdcardfs_create() 172 struct path lower_path; in sdcardfs_unlink() local 183 sdcardfs_get_lower_path(dentry, &lower_path); in sdcardfs_unlink() 184 lower_dentry = lower_path.dentry; in sdcardfs_unlink() 185 lower_mnt = lower_path.mnt; in sdcardfs_unlink() [all …]
|
D | lookup.c | 169 struct path *lower_path, in __sdcardfs_interpose() argument 177 lower_inode = d_inode(lower_path->dentry); in __sdcardfs_interpose() 215 struct path *lower_path, userid_t id) in sdcardfs_interpose() argument 219 ret_dentry = __sdcardfs_interpose(dentry, sb, lower_path, id); in sdcardfs_interpose() 259 struct path lower_path; in __sdcardfs_lookup() local 279 &lower_path); in __sdcardfs_lookup() 310 &lower_path); in __sdcardfs_lookup() 332 err = setup_obb_dentry(dentry, &lower_path); in __sdcardfs_lookup() 347 sdcardfs_set_lower_path(dentry, &lower_path); in __sdcardfs_lookup() 349 __sdcardfs_interpose(dentry, dentry->d_sb, &lower_path, id); in __sdcardfs_lookup() [all …]
|
D | derived_perm.c | 379 struct path lower_path; in is_obbpath_invalid() local 387 if (!di->lower_path.dentry) { in is_obbpath_invalid() 390 path_get(&di->lower_path); in is_obbpath_invalid() 397 obbpath_s = d_path(&di->lower_path, path_buf, PATH_MAX); in is_obbpath_invalid() 398 if (d_unhashed(di->lower_path.dentry) || in is_obbpath_invalid() 405 pathcpy(&lower_path, &di->lower_path); in is_obbpath_invalid() 411 path_put(&lower_path); in is_obbpath_invalid() 442 int setup_obb_dentry(struct dentry *dentry, struct path *lower_path) in setup_obb_dentry() argument 452 sdcardfs_set_orig_path(dentry, lower_path); in setup_obb_dentry() 459 pathcpy(lower_path, &obbpath); in setup_obb_dentry()
|
D | dentry.c | 32 struct path parent_lower_path, lower_path; in sdcardfs_d_revalidate() local 60 sdcardfs_get_real_lower(dentry, &lower_path); in sdcardfs_d_revalidate() 62 lower_dentry = lower_path.dentry; in sdcardfs_d_revalidate() 128 sdcardfs_put_real_lower(dentry, &lower_path); in sdcardfs_d_revalidate()
|
D | main.c | 252 struct path lower_path; in sdcardfs_read_super() local 271 &lower_path); in sdcardfs_read_super() 294 lower_sb = lower_path.dentry->d_sb; in sdcardfs_read_super() 311 inode = sdcardfs_iget(sb, d_inode(lower_path.dentry), 0); in sdcardfs_read_super() 330 sdcardfs_set_lower_path(sb->s_root, &lower_path); in sdcardfs_read_super() 372 path_put(&lower_path); in sdcardfs_read_super()
|
D | file.c | 226 struct path lower_path; in sdcardfs_open() local 254 sdcardfs_get_lower_path(file->f_path.dentry, &lower_path); in sdcardfs_open() 255 lower_file = dentry_open(&lower_path, file->f_flags, current_cred()); in sdcardfs_open() 256 path_put(&lower_path); in sdcardfs_open() 314 struct path lower_path; in sdcardfs_fsync() local 322 sdcardfs_get_lower_path(dentry, &lower_path); in sdcardfs_fsync() 324 sdcardfs_put_lower_path(dentry, &lower_path); in sdcardfs_fsync()
|
D | sdcardfs.h | 177 struct path *lower_path, userid_t id); 214 struct path lower_path; member 364 SDCARDFS_DENT_FUNC(lower_path) 540 extern int setup_obb_dentry(struct dentry *dentry, struct path *lower_path); 603 struct path lower_path; in check_min_free_space() local 610 sdcardfs_get_lower_path(dentry, &lower_path); in check_min_free_space() 611 err = vfs_statfs(&lower_path, &statfs); in check_min_free_space() 612 sdcardfs_put_lower_path(dentry, &lower_path); in check_min_free_space()
|
D | super.c | 73 struct path lower_path; in sdcardfs_statfs() local 77 sdcardfs_get_lower_path(dentry, &lower_path); in sdcardfs_statfs() 78 err = vfs_statfs(&lower_path, buf); in sdcardfs_statfs() 79 sdcardfs_put_lower_path(dentry, &lower_path); in sdcardfs_statfs()
|
/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 271 struct path lower_path; member 523 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower() 529 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt() 535 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
|
D | dentry.c | 84 path_put(&p->lower_path); in ecryptfs_d_release()
|
D | inode.c | 350 dentry_info->lower_path.mnt = lower_mnt; in ecryptfs_lookup_interpose() 351 dentry_info->lower_path.dentry = lower_dentry; in ecryptfs_lookup_interpose()
|
D | main.c | 605 root_info->lower_path = path; in ecryptfs_mount()
|