Searched refs:ecryptfs_inode (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/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 | 379 static int ecryptfs_write_inode_size_to_header(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_header() argument 389 put_unaligned_be64(i_size_read(ecryptfs_inode), file_size_virt); in ecryptfs_write_inode_size_to_header() 390 rc = ecryptfs_write_lower(ecryptfs_inode, file_size_virt, 0, in ecryptfs_write_inode_size_to_header() 404 static int ecryptfs_write_inode_size_to_xattr(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_xattr() argument 409 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr() 429 put_unaligned_be64(i_size_read(ecryptfs_inode), xattr_virt); in ecryptfs_write_inode_size_to_xattr() 441 int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode) in ecryptfs_write_inode_size_to_metadata() argument 445 crypt_stat = &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_write_inode_size_to_metadata() 448 return ecryptfs_write_inode_size_to_xattr(ecryptfs_inode); in ecryptfs_write_inode_size_to_metadata() 450 return ecryptfs_write_inode_size_to_header(ecryptfs_inode); in ecryptfs_write_inode_size_to_metadata() [all …]
|
D | crypto.c | 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() [all …]
|
D | ecryptfs_kernel.h | 549 struct inode *ecryptfs_inode); 571 int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode); 575 struct inode *ecryptfs_inode); 577 int ecryptfs_new_file_context(struct inode *ecryptfs_inode); 601 int ecryptfs_read_xattr_region(char *page_virt, struct inode *ecryptfs_inode); 653 int ecryptfs_write_lower(struct inode *ecryptfs_inode, char *data, 655 int ecryptfs_write_lower_page_segment(struct inode *ecryptfs_inode, 660 struct inode *ecryptfs_inode); 664 struct inode *ecryptfs_inode);
|
D | inode.c | 213 struct inode *ecryptfs_inode) in ecryptfs_initialize_file() argument 216 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_initialize_file() 219 if (S_ISDIR(ecryptfs_inode->i_mode)) { in ecryptfs_initialize_file() 225 rc = ecryptfs_new_file_context(ecryptfs_inode); in ecryptfs_initialize_file() 231 rc = ecryptfs_get_lower_file(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file() 239 rc = ecryptfs_write_metadata(ecryptfs_dentry, ecryptfs_inode); in ecryptfs_initialize_file() 242 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 …]
|