Lines Matching defs:mount_crypt_stat
487 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)
494 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
496 &mount_crypt_stat->global_auth_tok_list,
533 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);
544 * linked off the mount_crypt_stat, so all the auth_toks that can be
556 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
562 mount_crypt_stat, sig);
565 * mount_crypt_stat structure, we prevent to use auth toks that
569 if (mount_crypt_stat->flags
620 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
634 &s->auth_tok, mount_crypt_stat,
635 mount_crypt_stat->global_default_fnek_sig);
639 mount_crypt_stat->global_default_fnek_sig, rc);
644 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name);
648 mount_crypt_stat->global_default_fn_cipher_name, rc);
718 mount_crypt_stat->global_default_fnek_sig,
722 mount_crypt_stat->global_default_fn_cipher_name,
723 mount_crypt_stat->global_default_fn_cipher_key_bytes);
727 mount_crypt_stat->global_default_fn_cipher_name,
728 mount_crypt_stat->global_default_fn_cipher_key_bytes);
816 mount_crypt_stat->global_default_fn_cipher_key_bytes);
820 "encryption_key = [0x%p]; mount_crypt_stat->"
824 mount_crypt_stat->global_default_fn_cipher_key_bytes);
882 * @mount_crypt_stat: The mount-wide cryptographic context
893 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
961 &s->auth_tok, mount_crypt_stat,
1032 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1036 "encryption_key = [0x%p]; mount_crypt_stat->"
1040 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1883 crypt_stat->mount_crypt_stat,
2187 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2188 crypt_stat->mount_crypt_stat;
2204 if (mount_crypt_stat->global_default_cipher_key_size == 0) {
2208 mount_crypt_stat->global_default_cipher_key_size =
2213 mount_crypt_stat->global_default_cipher_key_size;
2405 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2407 ecryptfs_dentry->d_sb)->mount_crypt_stat;
2425 mount_crypt_stat,
2511 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
2524 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
2526 &mount_crypt_stat->global_auth_tok_list);
2527 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);