Searched refs:lower_dir_dentry (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/fs/ecryptfs/
H A Dinode.c148 struct dentry *lower_dir_dentry; ecryptfs_do_unlink() local
152 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_do_unlink()
163 unlock_dir(lower_dir_dentry); ecryptfs_do_unlink()
186 struct dentry *lower_dir_dentry; ecryptfs_do_create() local
190 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_do_create()
191 rc = vfs_create(d_inode(lower_dir_dentry), lower_dentry, mode, true); ecryptfs_do_create()
201 vfs_unlink(d_inode(lower_dir_dentry), lower_dentry, NULL); ecryptfs_do_create()
204 fsstack_copy_attr_times(directory_inode, d_inode(lower_dir_dentry)); ecryptfs_do_create()
205 fsstack_copy_inode_size(directory_inode, d_inode(lower_dir_dentry)); ecryptfs_do_create()
207 unlock_dir(lower_dir_dentry); ecryptfs_do_create()
398 struct dentry *lower_dir_dentry, *lower_dentry; ecryptfs_lookup() local
401 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); ecryptfs_lookup()
402 mutex_lock(&d_inode(lower_dir_dentry)->i_mutex); ecryptfs_lookup()
404 lower_dir_dentry, ecryptfs_lookup()
406 mutex_unlock(&d_inode(lower_dir_dentry)->i_mutex); ecryptfs_lookup()
431 mutex_lock(&d_inode(lower_dir_dentry)->i_mutex); ecryptfs_lookup()
433 lower_dir_dentry, ecryptfs_lookup()
435 mutex_unlock(&d_inode(lower_dir_dentry)->i_mutex); ecryptfs_lookup()
456 struct dentry *lower_dir_dentry; ecryptfs_link() local
465 lower_dir_dentry = lock_parent(lower_new_dentry); ecryptfs_link()
466 rc = vfs_link(lower_old_dentry, d_inode(lower_dir_dentry), ecryptfs_link()
473 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); ecryptfs_link()
474 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); ecryptfs_link()
479 unlock_dir(lower_dir_dentry); ecryptfs_link()
495 struct dentry *lower_dir_dentry; ecryptfs_symlink() local
502 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_symlink()
512 rc = vfs_symlink(d_inode(lower_dir_dentry), lower_dentry, ecryptfs_symlink()
520 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); ecryptfs_symlink()
521 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); ecryptfs_symlink()
523 unlock_dir(lower_dir_dentry); ecryptfs_symlink()
534 struct dentry *lower_dir_dentry; ecryptfs_mkdir() local
537 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_mkdir()
538 rc = vfs_mkdir(d_inode(lower_dir_dentry), lower_dentry, mode); ecryptfs_mkdir()
544 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); ecryptfs_mkdir()
545 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); ecryptfs_mkdir()
546 set_nlink(dir, d_inode(lower_dir_dentry)->i_nlink); ecryptfs_mkdir()
548 unlock_dir(lower_dir_dentry); ecryptfs_mkdir()
557 struct dentry *lower_dir_dentry; ecryptfs_rmdir() local
562 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_rmdir()
564 rc = vfs_rmdir(d_inode(lower_dir_dentry), lower_dentry); ecryptfs_rmdir()
568 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); ecryptfs_rmdir()
569 set_nlink(dir, d_inode(lower_dir_dentry)->i_nlink); ecryptfs_rmdir()
570 unlock_dir(lower_dir_dentry); ecryptfs_rmdir()
582 struct dentry *lower_dir_dentry; ecryptfs_mknod() local
585 lower_dir_dentry = lock_parent(lower_dentry); ecryptfs_mknod()
586 rc = vfs_mknod(d_inode(lower_dir_dentry), lower_dentry, mode, dev); ecryptfs_mknod()
592 fsstack_copy_attr_times(dir, d_inode(lower_dir_dentry)); ecryptfs_mknod()
593 fsstack_copy_inode_size(dir, d_inode(lower_dir_dentry)); ecryptfs_mknod()
595 unlock_dir(lower_dir_dentry); ecryptfs_mknod()

Completed in 71 milliseconds