Lines Matching refs:path
123 struct path *path = ecryptfs_dentry_to_lower_path(dentry); in ecryptfs_init_lower_file() local
126 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file()
131 "rc = [%d]\n", path->dentry, path->mnt, rc); in ecryptfs_init_lower_file()
500 struct path path; in ecryptfs_mount() local
536 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
541 if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) { in ecryptfs_mount()
549 if (check_ruid && !uid_eq(d_inode(path.dentry)->i_uid, current_uid())) { in ecryptfs_mount()
553 i_uid_read(d_inode(path.dentry)), in ecryptfs_mount()
558 ecryptfs_set_superblock_lower(s, path.dentry->d_sb); in ecryptfs_mount()
565 s->s_flags |= path.dentry->d_sb->s_flags & MS_POSIXACL; in ecryptfs_mount()
572 if (path.dentry->d_sb->s_flags & MS_RDONLY || in ecryptfs_mount()
576 s->s_maxbytes = path.dentry->d_sb->s_maxbytes; in ecryptfs_mount()
577 s->s_blocksize = path.dentry->d_sb->s_blocksize; in ecryptfs_mount()
579 s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1; in ecryptfs_mount()
587 inode = ecryptfs_get_inode(d_inode(path.dentry), s); in ecryptfs_mount()
605 root_info->lower_path = path; in ecryptfs_mount()
611 path_put(&path); in ecryptfs_mount()