Lines Matching refs:path
108 struct path *path = ecryptfs_dentry_to_lower_path(dentry);
111 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt,
116 "rc = [%d]\n", path->dentry, path->mnt, rc);
473 * @dev_name: The path to mount over
485 struct path path;
527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path);
532 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) {
540 if (check_ruid && !uid_eq(d_inode(path.dentry)->i_uid, current_uid())) {
544 i_uid_read(d_inode(path.dentry)),
549 ecryptfs_set_superblock_lower(s, path.dentry->d_sb);
556 s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL;
563 if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)
566 s->s_maxbytes = path.dentry->d_sb->s_maxbytes;
567 s->s_blocksize = path.dentry->d_sb->s_blocksize;
569 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1;
577 inode = ecryptfs_get_inode(d_inode(path.dentry), s);
595 root_info->lower_path = path;
601 path_put(&path);