Searched refs:ecryptfs_inode (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | read_write.c | 27 int ecryptfs_write_lower(struct inode *ecryptfs_inode, char *data, in ecryptfs_write_lower() argument 33 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_write_lower() 37 mark_inode_dirty_sync(ecryptfs_inode); in ecryptfs_write_lower() 57 int ecryptfs_write_lower_page_segment(struct inode *ecryptfs_inode, in ecryptfs_write_lower_page_segment() argument 68 rc = ecryptfs_write_lower(ecryptfs_inode, virt, offset, size); in ecryptfs_write_lower_page_segment() 93 int ecryptfs_write(struct inode *ecryptfs_inode, char *data, loff_t offset, in ecryptfs_write() argument 99 loff_t ecryptfs_file_size = i_size_read(ecryptfs_inode); in ecryptfs_write() 104 crypt_stat = &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_write() 133 ecryptfs_page = ecryptfs_get_locked_page(ecryptfs_inode, in ecryptfs_write() 173 rc = ecryptfs_write_lower_page_segment(ecryptfs_inode, in ecryptfs_write() [all …]
|
D | mmap.c | 378 static int ecryptfs_write_inode_size_to_header(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_header() argument 388 put_unaligned_be64(i_size_read(ecryptfs_inode), file_size_virt); in ecryptfs_write_inode_size_to_header() 389 rc = ecryptfs_write_lower(ecryptfs_inode, file_size_virt, 0, in ecryptfs_write_inode_size_to_header() 403 static int ecryptfs_write_inode_size_to_xattr(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_xattr() argument 408 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr() 428 put_unaligned_be64(i_size_read(ecryptfs_inode), xattr_virt); in ecryptfs_write_inode_size_to_xattr() 440 int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_metadata() argument 444 crypt_stat = &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_write_inode_size_to_metadata() 447 return ecryptfs_write_inode_size_to_xattr(ecryptfs_inode); in ecryptfs_write_inode_size_to_metadata() 449 return ecryptfs_write_inode_size_to_header(ecryptfs_inode); in ecryptfs_write_inode_size_to_metadata() [all …]
|
D | crypto.c | 437 struct inode *ecryptfs_inode; in ecryptfs_encrypt_page() local 445 ecryptfs_inode = page->mapping->host; in ecryptfs_encrypt_page() 447 &(ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat); in ecryptfs_encrypt_page() 471 rc = ecryptfs_write_lower(ecryptfs_inode, enc_extent_virt, lower_offset, in ecryptfs_encrypt_page() 506 struct inode *ecryptfs_inode; in ecryptfs_decrypt_page() local 513 ecryptfs_inode = page->mapping->host; in ecryptfs_decrypt_page() 515 &(ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat); in ecryptfs_decrypt_page() 521 ecryptfs_inode); in ecryptfs_decrypt_page() 770 int ecryptfs_new_file_context(struct inode *ecryptfs_inode) in ecryptfs_new_file_context() argument 773 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_new_file_context() [all …]
|
D | ecryptfs_kernel.h | 564 struct inode *ecryptfs_inode); 586 int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode); 590 struct inode *ecryptfs_inode); 592 int ecryptfs_new_file_context(struct inode *ecryptfs_inode); 616 int ecryptfs_read_xattr_region(char *page_virt, struct inode *ecryptfs_inode); 668 int ecryptfs_write_lower(struct inode *ecryptfs_inode, char *data, 670 int ecryptfs_write_lower_page_segment(struct inode *ecryptfs_inode, 675 struct inode *ecryptfs_inode); 679 struct inode *ecryptfs_inode);
|
D | inode.c | 212 struct inode *ecryptfs_inode) in ecryptfs_initialize_file() argument 215 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_initialize_file() 218 if (S_ISDIR(ecryptfs_inode->i_mode)) { in ecryptfs_initialize_file() 224 rc = ecryptfs_new_file_context(ecryptfs_inode); in ecryptfs_initialize_file() 230 rc = ecryptfs_get_lower_file(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file() 238 rc = ecryptfs_write_metadata(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file() 241 ecryptfs_put_lower_file(ecryptfs_inode); in ecryptfs_initialize_file() 260 struct inode *ecryptfs_inode; in ecryptfs_create() local 263 ecryptfs_inode = ecryptfs_do_create(directory_inode, ecryptfs_dentry, in ecryptfs_create() 265 if (IS_ERR(ecryptfs_inode)) { in ecryptfs_create() [all …]
|