Home
last modified time | relevance | path

Searched refs:ecryptfs_inode (Results 1 – 5 of 5) sorted by relevance

/linux/fs/ecryptfs/
A Dread_write.c27 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()
68 rc = ecryptfs_write_lower(ecryptfs_inode, virt, offset, size); in ecryptfs_write_lower_page_segment()
99 loff_t ecryptfs_file_size = i_size_read(ecryptfs_inode); 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()
186 i_size_write(ecryptfs_inode, pos); in ecryptfs_write()
191 ecryptfs_inode); in ecryptfs_write()
220 struct inode *ecryptfs_inode) in ecryptfs_read_lower() argument
[all …]
A Dmmap.c390 rc = ecryptfs_write_lower(ecryptfs_inode, file_size_virt, 0, in ecryptfs_write_inode_size_to_header()
429 put_unaligned_be64(i_size_read(ecryptfs_inode), xattr_virt); in ecryptfs_write_inode_size_to_xattr()
448 return ecryptfs_write_inode_size_to_xattr(ecryptfs_inode); in ecryptfs_write_inode_size_to_metadata()
471 struct inode *ecryptfs_inode = mapping->host; in ecryptfs_write_end() local
473 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_write_end()
483 fsstack_copy_inode_size(ecryptfs_inode, in ecryptfs_write_end()
484 ecryptfs_inode_to_lower(ecryptfs_inode)); in ecryptfs_write_end()
508 if (pos + copied > i_size_read(ecryptfs_inode)) { in ecryptfs_write_end()
509 i_size_write(ecryptfs_inode, pos + copied); in ecryptfs_write_end()
512 (unsigned long long)i_size_read(ecryptfs_inode)); in ecryptfs_write_end()
[all …]
A Dcrypto.c435 struct inode *ecryptfs_inode; in ecryptfs_encrypt_page() local
443 ecryptfs_inode = page->mapping->host; in ecryptfs_encrypt_page()
504 struct inode *ecryptfs_inode; in ecryptfs_decrypt_page() local
519 ecryptfs_inode); in ecryptfs_decrypt_page()
1095 struct inode *ecryptfs_inode, in ecryptfs_write_metadata_to_xattr() argument
1110 if (!rc && ecryptfs_inode) in ecryptfs_write_metadata_to_xattr()
1142 struct inode *ecryptfs_inode) in ecryptfs_write_metadata() argument
1400 ecryptfs_inode); in ecryptfs_read_metadata()
1412 ecryptfs_inode->i_ino); in ecryptfs_read_metadata()
1422 ecryptfs_inode->i_ino); in ecryptfs_read_metadata()
[all …]
A Decryptfs_kernel.h549 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);
A Dinode.c211 struct inode *ecryptfs_inode) in ecryptfs_initialize_file() argument
214 &ecryptfs_inode_to_private(ecryptfs_inode)->crypt_stat; in ecryptfs_initialize_file()
217 if (S_ISDIR(ecryptfs_inode->i_mode)) { in ecryptfs_initialize_file()
223 rc = ecryptfs_new_file_context(ecryptfs_inode); in ecryptfs_initialize_file()
240 ecryptfs_put_lower_file(ecryptfs_inode); in ecryptfs_initialize_file()
258 struct inode *ecryptfs_inode; in ecryptfs_create() local
263 if (IS_ERR(ecryptfs_inode)) { in ecryptfs_create()
266 rc = PTR_ERR(ecryptfs_inode); in ecryptfs_create()
274 ecryptfs_inode); in ecryptfs_create()
275 iget_failed(ecryptfs_inode); in ecryptfs_create()
[all …]

Completed in 17 milliseconds