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()
557 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
563 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
570 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
621 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument
635 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
636 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
640 mount_crypt_stat->global_default_fnek_sig, rc); in ecryptfs_write_tag_70_packet()
645 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
649 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()
817 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
825 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
894 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_parse_tag_70_packet() argument
962 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1033 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1041 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1884 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2188 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in write_tag_3_packet() local
2189 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2205 if (mount_crypt_stat->global_default_cipher_key_size == 0) { in write_tag_3_packet()
2209 mount_crypt_stat->global_default_cipher_key_size = in write_tag_3_packet()
2214 mount_crypt_stat->global_default_cipher_key_size; in write_tag_3_packet()
2406 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_generate_key_packet_set() local
2408 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2426 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
2512 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_add_global_auth_tok() argument
2525 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()
2527 &mount_crypt_stat->global_auth_tok_list); in ecryptfs_add_global_auth_tok()
2528 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()