Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ecryptfs/
Dcrypto.c558 char *page_virt; in ecryptfs_decrypt_page() local
569 page_virt = kmap(page); in ecryptfs_decrypt_page()
570 rc = ecryptfs_read_lower(page_virt, lower_offset, PAGE_CACHE_SIZE, in ecryptfs_decrypt_page()
902 char *page_virt, int *bytes_read) in ecryptfs_process_flags() argument
908 flags = get_unaligned_be32(page_virt); in ecryptfs_process_flags()
928 static void write_ecryptfs_marker(char *page_virt, size_t *written) in write_ecryptfs_marker() argument
934 put_unaligned_be32(m_1, page_virt); in write_ecryptfs_marker()
935 page_virt += (MAGIC_ECRYPTFS_MARKER_SIZE_BYTES / 2); in write_ecryptfs_marker()
936 put_unaligned_be32(m_2, page_virt); in write_ecryptfs_marker()
940 void ecryptfs_write_crypt_stat_flags(char *page_virt, in ecryptfs_write_crypt_stat_flags() argument
[all …]
Dmmap.c82 static void strip_xattr_flag(char *page_virt, in strip_xattr_flag() argument
89 ecryptfs_write_crypt_stat_flags(page_virt, crypt_stat, in strip_xattr_flag()
139 char *page_virt; in ecryptfs_copy_up_encrypted_with_header() local
141 page_virt = kmap_atomic(page); in ecryptfs_copy_up_encrypted_with_header()
142 memset(page_virt, 0, PAGE_CACHE_SIZE); in ecryptfs_copy_up_encrypted_with_header()
148 page_virt, page->mapping->host); in ecryptfs_copy_up_encrypted_with_header()
149 strip_xattr_flag(page_virt + 16, crypt_stat); in ecryptfs_copy_up_encrypted_with_header()
150 ecryptfs_write_header_metadata(page_virt + 20, in ecryptfs_copy_up_encrypted_with_header()
154 kunmap_atomic(page_virt); in ecryptfs_copy_up_encrypted_with_header()
Decryptfs_kernel.h561 void ecryptfs_i_size_init(const char *page_virt, struct inode *inode);
593 void ecryptfs_write_crypt_stat_flags(char *page_virt,
616 int ecryptfs_read_xattr_region(char *page_virt, struct inode *ecryptfs_inode);