Lines Matching refs:mount_crypt_stat

487 	struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig)  in ecryptfs_find_global_auth_tok_for_sig()  argument
494 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
496 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
533 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
556 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
562 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
569 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
620 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument
634 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
635 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
639 mount_crypt_stat->global_default_fnek_sig, rc); in ecryptfs_write_tag_70_packet()
644 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
648 mount_crypt_stat->global_default_fn_cipher_name, rc); in ecryptfs_write_tag_70_packet()
718 mount_crypt_stat->global_default_fnek_sig, in ecryptfs_write_tag_70_packet()
722 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
723 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
727 mount_crypt_stat->global_default_fn_cipher_name, in ecryptfs_write_tag_70_packet()
728 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
816 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
824 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
893 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_parse_tag_70_packet() argument
961 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1032 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1040 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1883 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2187 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in write_tag_3_packet() local
2188 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2204 if (mount_crypt_stat->global_default_cipher_key_size == 0) { in write_tag_3_packet()
2208 mount_crypt_stat->global_default_cipher_key_size = in write_tag_3_packet()
2213 mount_crypt_stat->global_default_cipher_key_size; in write_tag_3_packet()
2405 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_generate_key_packet_set() local
2407 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2425 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
2511 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_add_global_auth_tok() argument
2524 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()
2526 &mount_crypt_stat->global_auth_tok_list); in ecryptfs_add_global_auth_tok()
2527 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()