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);
541 * @mount_crypt_stat: inode crypt_stat crypto context
545 * linked off the mount_crypt_stat, so all the auth_toks that can be
557 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
563 mount_crypt_stat, sig);
566 * mount_crypt_stat structure, we prevent to use auth toks that
570 if (mount_crypt_stat->flags
621 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
635 &s->auth_tok, mount_crypt_stat,
636 mount_crypt_stat->global_default_fnek_sig);
640 mount_crypt_stat->global_default_fnek_sig, rc);
645 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name);
649 mount_crypt_stat->global_default_fn_cipher_name, rc);
719 mount_crypt_stat->global_default_fnek_sig,
723 mount_crypt_stat->global_default_fn_cipher_name,
724 mount_crypt_stat->global_default_fn_cipher_key_bytes);
728 mount_crypt_stat->global_default_fn_cipher_name,
729 mount_crypt_stat->global_default_fn_cipher_key_bytes);
817 mount_crypt_stat->global_default_fn_cipher_key_bytes);
821 "encryption_key = [0x%p]; mount_crypt_stat->"
825 mount_crypt_stat->global_default_fn_cipher_key_bytes);
883 * @mount_crypt_stat: The mount-wide cryptographic context
894 struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
962 &s->auth_tok, mount_crypt_stat,
1033 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1037 "encryption_key = [0x%p]; mount_crypt_stat->"
1041 mount_crypt_stat->global_default_fn_cipher_key_bytes);
1884 crypt_stat->mount_crypt_stat,
2188 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2189 crypt_stat->mount_crypt_stat;
2205 if (mount_crypt_stat->global_default_cipher_key_size == 0) {
2209 mount_crypt_stat->global_default_cipher_key_size =
2214 mount_crypt_stat->global_default_cipher_key_size;
2406 struct ecryptfs_mount_crypt_stat *mount_crypt_stat =
2408 ecryptfs_dentry->d_sb)->mount_crypt_stat;
2426 mount_crypt_stat,
2512 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat,
2525 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex);
2527 &mount_crypt_stat->global_auth_tok_list);
2528 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex);