Searched refs:crypt_stat (Results 1 – 3 of 3) sorted by relevance
52 struct ecryptfs_crypt_stat *crypt_stat) in strip_xattr_flag() argument54 if (crypt_stat->flags & ECRYPTFS_METADATA_IN_XATTR) { in strip_xattr_flag()57 crypt_stat->flags &= ~ECRYPTFS_METADATA_IN_XATTR; in strip_xattr_flag()58 ecryptfs_write_crypt_stat_flags(page_virt, crypt_stat, in strip_xattr_flag()60 crypt_stat->flags |= ECRYPTFS_METADATA_IN_XATTR; in strip_xattr_flag()92 struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_copy_up_encrypted_with_header() argument96 / crypt_stat->extent_size); in ecryptfs_copy_up_encrypted_with_header()104 (crypt_stat->metadata_size / crypt_stat->extent_size); in ecryptfs_copy_up_encrypted_with_header()118 strip_xattr_flag(page_virt + 16, crypt_stat); in ecryptfs_copy_up_encrypted_with_header()120 crypt_stat, in ecryptfs_copy_up_encrypted_with_header()[all …]
254 struct ecryptfs_crypt_stat crypt_stat; member347 struct ecryptfs_crypt_stat *crypt_stat; member411 ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat) in ecryptfs_lower_header_size() argument413 if (crypt_stat->flags & ECRYPTFS_METADATA_IN_XATTR) in ecryptfs_lower_header_size()415 return crypt_stat->metadata_size; in ecryptfs_lower_header_size()554 int ecryptfs_compute_root_iv(struct ecryptfs_crypt_stat *crypt_stat);556 void ecryptfs_init_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat);557 void ecryptfs_destroy_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat);560 int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat);569 struct ecryptfs_crypt_stat *crypt_stat,[all …]
44 ecryptfs_init_crypt_stat(&inode_info->crypt_stat); in ecryptfs_alloc_inode()76 ecryptfs_destroy_crypt_stat(&inode_info->crypt_stat); in ecryptfs_destroy_inode()