Lines Matching refs:d_inode
32 *lower_dir = d_inode(lower_dir_dentry); in lock_parent()
118 struct inode *inode = ecryptfs_get_inode(d_inode(lower_dentry), sb); in ecryptfs_interpose()
189 inode = __ecryptfs_get_inode(d_inode(lower_dentry), in ecryptfs_do_create()
331 fsstack_copy_attr_atime(d_inode(dentry->d_parent), in ecryptfs_lookup_interpose()
332 d_inode(path->dentry)); in ecryptfs_lookup_interpose()
345 lower_inode = READ_ONCE(lower_dentry->d_inode); in ecryptfs_lookup_interpose()
431 file_size_save = i_size_read(d_inode(old_dentry)); in ecryptfs_link()
444 set_nlink(d_inode(old_dentry), in ecryptfs_link()
445 ecryptfs_inode_to_lower(d_inode(old_dentry))->i_nlink); in ecryptfs_link()
446 i_size_write(d_inode(new_dentry), file_size_save); in ecryptfs_link()
454 return ecryptfs_do_unlink(dir, dentry, d_inode(dentry)); in ecryptfs_unlink()
537 clear_nlink(d_inode(dentry)); in ecryptfs_rmdir()
597 target_inode = d_inode(new_dentry); in ecryptfs_rename()
618 rd.old_dir = d_inode(lower_old_dir_dentry); in ecryptfs_rename()
621 rd.new_dir = d_inode(lower_new_dir_dentry); in ecryptfs_rename()
629 fsstack_copy_attr_all(new_dir, d_inode(lower_new_dir_dentry)); in ecryptfs_rename()
631 fsstack_copy_attr_all(old_dir, d_inode(lower_old_dir_dentry)); in ecryptfs_rename()
672 fsstack_copy_attr_atime(d_inode(dentry), in ecryptfs_get_link()
673 d_inode(ecryptfs_dentry_to_lower(dentry))); in ecryptfs_get_link()
728 struct inode *inode = d_inode(dentry); in truncate_upper()
741 crypt_stat = &ecryptfs_inode_to_private(d_inode(dentry))->crypt_stat; in truncate_upper()
848 rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length); in ecryptfs_truncate()
856 inode_lock(d_inode(lower_dentry)); in ecryptfs_truncate()
859 inode_unlock(d_inode(lower_dentry)); in ecryptfs_truncate()
895 crypt_stat = &ecryptfs_inode_to_private(d_inode(dentry))->crypt_stat; in ecryptfs_setattr()
901 inode = d_inode(dentry); in ecryptfs_setattr()
965 inode_lock(d_inode(lower_dentry)); in ecryptfs_setattr()
967 inode_unlock(d_inode(lower_dentry)); in ecryptfs_setattr()
983 generic_fillattr(&init_user_ns, d_inode(dentry), stat); in ecryptfs_getattr_link()
1010 fsstack_copy_attr_all(d_inode(dentry), in ecryptfs_getattr()
1011 ecryptfs_inode_to_lower(d_inode(dentry))); in ecryptfs_getattr()
1012 generic_fillattr(&init_user_ns, d_inode(dentry), stat); in ecryptfs_getattr()
1028 lower_inode = d_inode(lower_dentry); in ecryptfs_setxattr()
1075 if (!d_inode(lower_dentry)->i_op->listxattr) { in ecryptfs_listxattr()
1079 inode_lock(d_inode(lower_dentry)); in ecryptfs_listxattr()
1080 rc = d_inode(lower_dentry)->i_op->listxattr(lower_dentry, list, size); in ecryptfs_listxattr()
1081 inode_unlock(d_inode(lower_dentry)); in ecryptfs_listxattr()
1118 fsstack_copy_attr_all(d_inode(dentry), d_inode(lower_dentry)); in ecryptfs_fileattr_set()