Lines Matching refs:mount_crypt_stat
494 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
501 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
503 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
540 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
563 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
569 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
576 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
626 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument
644 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
645 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
649 mount_crypt_stat->global_default_fnek_sig, rc); in ecryptfs_write_tag_70_packet()
654 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
658 mount_crypt_stat->global_default_fn_cipher_name, rc); in ecryptfs_write_tag_70_packet()
719 mount_crypt_stat->global_default_fnek_sig, in ecryptfs_write_tag_70_packet()
723 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
724 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
728 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
729 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
843 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
851 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
916 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_parse_tag_70_packet() argument
988 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1051 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1059 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1889 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2193 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in write_tag_3_packet() local
2194 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2212 if (mount_crypt_stat->global_default_cipher_key_size == 0) { in write_tag_3_packet()
2217 mount_crypt_stat->global_default_cipher_key_size = in write_tag_3_packet()
2222 mount_crypt_stat->global_default_cipher_key_size; in write_tag_3_packet()
2398 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_generate_key_packet_set() local
2400 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2418 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
2506 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_add_global_auth_tok() argument
2523 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()
2525 &mount_crypt_stat->global_auth_tok_list); in ecryptfs_add_global_auth_tok()
2526 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()