Lines Matching refs:ecryptfs_crypt_stat
62 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_calculate_md5()
110 int ecryptfs_derive_iv(char *iv, struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_derive_iv()
154 int ecryptfs_init_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_init_crypt_stat()
168 memset((void *)crypt_stat, 0, sizeof(struct ecryptfs_crypt_stat)); in ecryptfs_init_crypt_stat()
185 void ecryptfs_destroy_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_destroy_crypt_stat()
196 memset(crypt_stat, 0, sizeof(struct ecryptfs_crypt_stat)); in ecryptfs_destroy_crypt_stat()
290 static int crypt_scatterlist(struct ecryptfs_crypt_stat *crypt_stat, in crypt_scatterlist()
354 static loff_t lower_offset_for_page(struct ecryptfs_crypt_stat *crypt_stat, in lower_offset_for_page()
374 static int crypt_extent(struct ecryptfs_crypt_stat *crypt_stat, in crypt_extent()
436 struct ecryptfs_crypt_stat *crypt_stat; in ecryptfs_encrypt_page()
505 struct ecryptfs_crypt_stat *crypt_stat; in ecryptfs_decrypt_page()
554 int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_init_crypt_ctx()
592 static void set_extent_mask_and_shift(struct ecryptfs_crypt_stat *crypt_stat) in set_extent_mask_and_shift()
608 void ecryptfs_set_default_sizes(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_set_default_sizes()
631 int ecryptfs_compute_root_iv(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_compute_root_iv()
660 static void ecryptfs_generate_new_key(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_generate_new_key()
681 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_copy_mount_wide_flags_to_inode_flags()
700 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_copy_mount_wide_sigs_to_inode_sigs()
735 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_set_default_crypt_stat_vals()
769 struct ecryptfs_crypt_stat *crypt_stat = in ecryptfs_new_file_context()
847 static void ecryptfs_process_flags(struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_process_flags()
884 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_write_crypt_stat_flags()
998 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_write_header_metadata()
1048 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_write_headers_virt()
1144 struct ecryptfs_crypt_stat *crypt_stat = in ecryptfs_write_metadata()
1200 static int parse_header_metadata(struct ecryptfs_crypt_stat *crypt_stat, in parse_header_metadata()
1232 static void set_default_header_data(struct ecryptfs_crypt_stat *crypt_stat) in set_default_header_data()
1240 struct ecryptfs_crypt_stat *crypt_stat; in ecryptfs_i_size_init()
1269 struct ecryptfs_crypt_stat *crypt_stat, in ecryptfs_read_headers_virt()
1385 struct ecryptfs_crypt_stat *crypt_stat = in ecryptfs_read_metadata()