Lines Matching refs:ecryptfs_inode

411 	struct inode *ecryptfs_inode;  in ecryptfs_encrypt_page()  local
419 ecryptfs_inode = page->mapping->host; in ecryptfs_encrypt_page()
421 &(ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat); in ecryptfs_encrypt_page()
445 rc = ecryptfs_write_lower(ecryptfs_inode, enc_extent_virt, lower_offset, in ecryptfs_encrypt_page()
480 struct inode *ecryptfs_inode; in ecryptfs_decrypt_page() local
487 ecryptfs_inode = page->mapping->host; in ecryptfs_decrypt_page()
489 &(ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat); in ecryptfs_decrypt_page()
495 ecryptfs_inode); in ecryptfs_decrypt_page()
743 int ecryptfs_new_file_context(struct inode *ecryptfs_inode) in ecryptfs_new_file_context() argument
746 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_new_file_context()
749 ecryptfs_inode->i_sb)->mount_crypt_stat; in ecryptfs_new_file_context()
1054 ecryptfs_write_metadata_to_contents(struct inode *ecryptfs_inode, in ecryptfs_write_metadata_to_contents() argument
1059 rc = ecryptfs_write_lower(ecryptfs_inode, virt, in ecryptfs_write_metadata_to_contents()
1071 struct inode *ecryptfs_inode, in ecryptfs_write_metadata_to_xattr() argument
1086 if (!rc && ecryptfs_inode) in ecryptfs_write_metadata_to_xattr()
1087 fsstack_copy_attr_all(ecryptfs_inode, lower_inode); in ecryptfs_write_metadata_to_xattr()
1118 struct inode *ecryptfs_inode) in ecryptfs_write_metadata() argument
1121 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_write_metadata()
1158 rc = ecryptfs_write_metadata_to_xattr(ecryptfs_dentry, ecryptfs_inode, in ecryptfs_write_metadata()
1161 rc = ecryptfs_write_metadata_to_contents(ecryptfs_inode, virt, in ecryptfs_write_metadata()
1300 int ecryptfs_read_xattr_region(char *page_virt, struct inode *ecryptfs_inode) in ecryptfs_read_xattr_region() argument
1303 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_read_xattr_region()
1308 ecryptfs_inode_to_lower(ecryptfs_inode), in ecryptfs_read_xattr_region()
1360 struct inode *ecryptfs_inode = d_inode(ecryptfs_dentry); in ecryptfs_read_metadata() local
1362 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_read_metadata()
1376 ecryptfs_inode); in ecryptfs_read_metadata()
1384 rc = ecryptfs_read_xattr_region(page_virt, ecryptfs_inode); in ecryptfs_read_metadata()
1388 ecryptfs_inode->i_ino); in ecryptfs_read_metadata()
1398 ecryptfs_inode->i_ino); in ecryptfs_read_metadata()
1410 ecryptfs_inode->i_ino); in ecryptfs_read_metadata()