Lines Matching refs:mount_crypt_stat

489 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)  in ecryptfs_find_global_auth_tok_for_sig()  argument
496 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
498 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
535 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
559 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
565 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
572 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
623 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument
637 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
638 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
642 mount_crypt_stat->global_default_fnek_sig, rc); in ecryptfs_write_tag_70_packet()
647 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
651 mount_crypt_stat->global_default_fn_cipher_name, rc); in ecryptfs_write_tag_70_packet()
721 mount_crypt_stat->global_default_fnek_sig, in ecryptfs_write_tag_70_packet()
725 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
726 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
730 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
731 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
819 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
827 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
896 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_parse_tag_70_packet() argument
964 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1035 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1043 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1886 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2190 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in write_tag_3_packet() local
2191 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2207 if (mount_crypt_stat->global_default_cipher_key_size == 0) { in write_tag_3_packet()
2211 mount_crypt_stat->global_default_cipher_key_size = in write_tag_3_packet()
2216 mount_crypt_stat->global_default_cipher_key_size; in write_tag_3_packet()
2408 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_generate_key_packet_set() local
2410 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2428 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
2514 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_add_global_auth_tok() argument
2527 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()
2529 &mount_crypt_stat->global_auth_tok_list); in ecryptfs_add_global_auth_tok()
2530 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()