Lines Matching refs:lower_dir_dentry

146 	struct dentry *lower_dir_dentry;  in ecryptfs_do_unlink()  local
150 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_do_unlink()
161 unlock_dir(lower_dir_dentry); in ecryptfs_do_unlink()
184 struct dentry *lower_dir_dentry; in ecryptfs_do_create() local
188 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_do_create()
189 rc = vfs_create(d_inode(lower_dir_dentry), lower_dentry, mode, true); in ecryptfs_do_create()
199 vfs_unlink(d_inode(lower_dir_dentry), lower_dentry, NULL); in ecryptfs_do_create()
202 fsstack_copy_attr_times(directory_inode, d_inode(lower_dir_dentry)); in ecryptfs_do_create()
203 fsstack_copy_inode_size(directory_inode, d_inode(lower_dir_dentry)); in ecryptfs_do_create()
205 unlock_dir(lower_dir_dentry); in ecryptfs_do_create()
387 struct dentry *lower_dir_dentry, *lower_dentry; in ecryptfs_lookup() local
393 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); in ecryptfs_lookup()
409 lower_dentry = lookup_one_len_unlocked(name, lower_dir_dentry, len); in ecryptfs_lookup()
428 struct dentry *lower_dir_dentry; in ecryptfs_link() local
437 lower_dir_dentry = lock_parent(lower_new_dentry); in ecryptfs_link()
438 rc = vfs_link(lower_old_dentry, d_inode(lower_dir_dentry), in ecryptfs_link()
445 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); in ecryptfs_link()
446 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); in ecryptfs_link()
451 unlock_dir(lower_dir_dentry); in ecryptfs_link()
467 struct dentry *lower_dir_dentry; in ecryptfs_symlink() local
474 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_symlink()
483 rc = vfs_symlink(d_inode(lower_dir_dentry), lower_dentry, in ecryptfs_symlink()
491 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); in ecryptfs_symlink()
492 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); in ecryptfs_symlink()
494 unlock_dir(lower_dir_dentry); in ecryptfs_symlink()
505 struct dentry *lower_dir_dentry; in ecryptfs_mkdir() local
508 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_mkdir()
509 rc = vfs_mkdir(d_inode(lower_dir_dentry), lower_dentry, mode); in ecryptfs_mkdir()
515 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); in ecryptfs_mkdir()
516 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); in ecryptfs_mkdir()
517 set_nlink(dir, d_inode(lower_dir_dentry)->i_nlink); in ecryptfs_mkdir()
519 unlock_dir(lower_dir_dentry); in ecryptfs_mkdir()
528 struct dentry *lower_dir_dentry; in ecryptfs_rmdir() local
533 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_rmdir()
535 rc = vfs_rmdir(d_inode(lower_dir_dentry), lower_dentry); in ecryptfs_rmdir()
539 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); in ecryptfs_rmdir()
540 set_nlink(dir, d_inode(lower_dir_dentry)->i_nlink); in ecryptfs_rmdir()
541 unlock_dir(lower_dir_dentry); in ecryptfs_rmdir()
553 struct dentry *lower_dir_dentry; in ecryptfs_mknod() local
556 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_mknod()
557 rc = vfs_mknod(d_inode(lower_dir_dentry), lower_dentry, mode, dev); in ecryptfs_mknod()
563 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); in ecryptfs_mknod()
564 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); in ecryptfs_mknod()
566 unlock_dir(lower_dir_dentry); in ecryptfs_mknod()