Searched refs:lower_inode (Results 1 – 6 of 6) sorted by relevance
/fs/ecryptfs/ |
D | mmap.c | 414 struct inode *lower_inode = lower_dentry->d_inode; in ecryptfs_write_inode_size_to_xattr() local 417 if (!lower_inode->i_op->getxattr || !lower_inode->i_op->setxattr) { in ecryptfs_write_inode_size_to_xattr() 430 mutex_lock(&lower_inode->i_mutex); in ecryptfs_write_inode_size_to_xattr() 431 size = lower_inode->i_op->getxattr(lower_dentry, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr() 436 rc = lower_inode->i_op->setxattr(lower_dentry, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr() 438 mutex_unlock(&lower_inode->i_mutex); in ecryptfs_write_inode_size_to_xattr() 527 struct inode *lower_inode; in ecryptfs_bmap() local 530 lower_inode = ecryptfs_inode_to_lower(inode); in ecryptfs_bmap() 531 if (lower_inode->i_mapping->a_ops->bmap) in ecryptfs_bmap() 532 rc = lower_inode->i_mapping->a_ops->bmap(lower_inode->i_mapping, in ecryptfs_bmap()
|
D | main.c | 158 struct inode *lower_inode; in ecryptfs_interpose() local 162 lower_inode = lower_dentry->d_inode; in ecryptfs_interpose() 163 if (lower_inode->i_sb != ecryptfs_superblock_to_lower(sb)) { in ecryptfs_interpose() 167 if (!igrab(lower_inode)) { in ecryptfs_interpose() 171 inode = iget5_locked(sb, (unsigned long)lower_inode, in ecryptfs_interpose() 173 lower_inode); in ecryptfs_interpose() 176 iput(lower_inode); in ecryptfs_interpose() 182 iput(lower_inode); in ecryptfs_interpose() 183 if (S_ISLNK(lower_inode->i_mode)) in ecryptfs_interpose() 185 else if (S_ISDIR(lower_inode->i_mode)) in ecryptfs_interpose() [all …]
|
D | super.c | 102 void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode) in ecryptfs_init_inode() argument 104 ecryptfs_set_inode_lower(inode, lower_inode); in ecryptfs_init_inode() 105 inode->i_ino = lower_inode->i_ino; in ecryptfs_init_inode()
|
D | dentry.c | 62 struct inode *lower_inode = in ecryptfs_d_revalidate() local 65 fsstack_copy_attr_all(dentry->d_inode, lower_inode, NULL); in ecryptfs_d_revalidate()
|
D | inode.c | 254 struct inode *lower_inode; in ecryptfs_lookup_and_interpose_lower() local 264 lower_inode = lower_dentry->d_inode; in ecryptfs_lookup_and_interpose_lower() 291 if (S_ISDIR(lower_inode->i_mode)) in ecryptfs_lookup_and_interpose_lower() 293 if (S_ISLNK(lower_inode->i_mode)) in ecryptfs_lookup_and_interpose_lower() 295 if (special_file(lower_inode->i_mode)) in ecryptfs_lookup_and_interpose_lower() 884 struct inode *lower_inode; in ecryptfs_setattr() local 891 lower_inode = ecryptfs_inode_to_lower(inode); in ecryptfs_setattr() 947 fsstack_copy_attr_all(inode, lower_inode, NULL); in ecryptfs_setattr() 1041 int ecryptfs_inode_set(struct inode *inode, void *lower_inode) in ecryptfs_inode_set() argument 1043 ecryptfs_init_inode(inode, (struct inode *)lower_inode); in ecryptfs_inode_set()
|
D | ecryptfs_kernel.h | 503 ecryptfs_set_inode_lower(struct inode *inode, struct inode *lower_inode) in ecryptfs_set_inode_lower() argument 505 ecryptfs_inode_to_private(inode)->wii_inode = lower_inode; in ecryptfs_set_inode_lower() 669 int ecryptfs_inode_set(struct inode *inode, void *lower_inode); 670 void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode);
|