Searched refs:mount_crypt_stat (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/ecryptfs/ |
| H A D | crypto.c | 133 struct ecryptfs_mount_crypt_stat *mount_crypt_stat) in ecryptfs_destroy_mount_crypt_stat() argument 137 if (!(mount_crypt_stat->flags & ECRYPTFS_MOUNT_CRYPT_STAT_INITIALIZED)) in ecryptfs_destroy_mount_crypt_stat() 139 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_destroy_mount_crypt_stat() 141 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_destroy_mount_crypt_stat() 148 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_destroy_mount_crypt_stat() 149 memset(mount_crypt_stat, 0, sizeof(struct ecryptfs_mount_crypt_stat)); in ecryptfs_destroy_mount_crypt_stat() 576 struct ecryptfs_mount_crypt_stat *mount_crypt_stat) in ecryptfs_copy_mount_wide_flags_to_inode_flags() argument 578 if (mount_crypt_stat->flags & ECRYPTFS_XATTR_METADATA_ENABLED) in ecryptfs_copy_mount_wide_flags_to_inode_flags() 580 if (mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED) in ecryptfs_copy_mount_wide_flags_to_inode_flags() 582 if (mount_crypt_stat->flags & ECRYPTFS_GLOBAL_ENCRYPT_FILENAMES) { in ecryptfs_copy_mount_wide_flags_to_inode_flags() [all …]
|
| H A D | keystore.c | 488 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument 495 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig() 497 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig() 534 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig() 558 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument 564 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig() 571 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig() 619 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument 633 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet() 634 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet() [all …]
|