Home
last modified time | relevance | path

Searched refs:lower_inode (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/ecryptfs/
Dinode.c53 static int ecryptfs_inode_test(struct inode *inode, void *lower_inode) in ecryptfs_inode_test() argument
55 return ecryptfs_inode_to_lower(inode) == lower_inode; in ecryptfs_inode_test()
60 struct inode *lower_inode = opaque; in ecryptfs_inode_set() local
62 ecryptfs_set_inode_lower(inode, lower_inode); in ecryptfs_inode_set()
63 fsstack_copy_attr_all(inode, lower_inode); in ecryptfs_inode_set()
65 fsstack_copy_inode_size(inode, lower_inode); in ecryptfs_inode_set()
66 inode->i_ino = lower_inode->i_ino; in ecryptfs_inode_set()
86 static struct inode *__ecryptfs_get_inode(struct inode *lower_inode, in __ecryptfs_get_inode() argument
91 if (lower_inode->i_sb != ecryptfs_superblock_to_lower(sb)) in __ecryptfs_get_inode()
93 if (!igrab(lower_inode)) in __ecryptfs_get_inode()
[all …]
Dmmap.c423 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_inode_size_to_xattr() local
426 if (!(lower_inode->i_opflags & IOP_XATTR)) { in ecryptfs_write_inode_size_to_xattr()
437 inode_lock(lower_inode); in ecryptfs_write_inode_size_to_xattr()
438 size = __vfs_getxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr()
443 rc = __vfs_setxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr()
445 inode_unlock(lower_inode); in ecryptfs_write_inode_size_to_xattr()
543 struct inode *lower_inode; in ecryptfs_bmap() local
546 lower_inode = ecryptfs_inode_to_lower(inode); in ecryptfs_bmap()
547 if (lower_inode->i_mapping->a_ops->bmap) in ecryptfs_bmap()
548 rc = lower_inode->i_mapping->a_ops->bmap(lower_inode->i_mapping, in ecryptfs_bmap()
Decryptfs_kernel.h482 ecryptfs_set_inode_lower(struct inode *inode, struct inode *lower_inode) in ecryptfs_set_inode_lower() argument
484 ecryptfs_inode_to_private(inode)->wii_inode = lower_inode; in ecryptfs_set_inode_lower()
574 struct inode *ecryptfs_get_inode(struct inode *lower_inode,
625 ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,