Lines Matching refs:mount_crypt_stat

489 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)
496 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
498 &mount_crypt_stat->global_auth_tok_list,
535 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
543 * @mount_crypt_stat: inode crypt_stat crypto context
547 * linked off the mount_crypt_stat, so all the auth_toks that can be
559 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
565 mount_crypt_stat, sig);
568 * mount_crypt_stat structure, we prevent to use auth toks that
572 if (mount_crypt_stat->flags
623 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
637 &s->auth_tok, mount_crypt_stat,
638 mount_crypt_stat->global_default_fnek_sig);
642 mount_crypt_stat->global_default_fnek_sig, rc);
647 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name);
651 mount_crypt_stat->global_default_fn_cipher_name, rc);
721 mount_crypt_stat->global_default_fnek_sig,
725 mount_crypt_stat->global_default_fn_cipher_name,
726 mount_crypt_stat->global_default_fn_cipher_key_bytes);
730 mount_crypt_stat->global_default_fn_cipher_name,
731 mount_crypt_stat->global_default_fn_cipher_key_bytes);
819 mount_crypt_stat->global_default_fn_cipher_key_bytes);
823 "encryption_key = [0x%p]; mount_crypt_stat->"
827 mount_crypt_stat->global_default_fn_cipher_key_bytes);
885 * @mount_crypt_stat: The mount-wide cryptographic context
896 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
964 &s->auth_tok, mount_crypt_stat,
1035 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1039 "encryption_key = [0x%p]; mount_crypt_stat->"
1043 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1886 crypt_stat->mount_crypt_stat,
2190 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2191 crypt_stat->mount_crypt_stat;
2207 if (mount_crypt_stat->global_default_cipher_key_size == 0) {
2211 mount_crypt_stat->global_default_cipher_key_size =
2216 mount_crypt_stat->global_default_cipher_key_size;
2408 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2410 ecryptfs_dentry->d_sb)->mount_crypt_stat;
2428 mount_crypt_stat,
2514 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
2527 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
2529 &mount_crypt_stat->global_auth_tok_list);
2530 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);