Lines Matching refs:mount_crypt_stat
493 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *sig) in ecryptfs_find_global_auth_tok_for_sig() argument
500 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
502 &mount_crypt_stat->global_auth_tok_list, in ecryptfs_find_global_auth_tok_for_sig()
539 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_find_global_auth_tok_for_sig()
562 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_find_auth_tok_for_sig() argument
568 mount_crypt_stat, sig); in ecryptfs_find_auth_tok_for_sig()
575 if (mount_crypt_stat->flags in ecryptfs_find_auth_tok_for_sig()
625 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_write_tag_70_packet() argument
643 &s->auth_tok, mount_crypt_stat, in ecryptfs_write_tag_70_packet()
644 mount_crypt_stat->global_default_fnek_sig); in ecryptfs_write_tag_70_packet()
648 mount_crypt_stat->global_default_fnek_sig, rc); in ecryptfs_write_tag_70_packet()
653 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
657 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()
842 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
850 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_write_tag_70_packet()
915 struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_parse_tag_70_packet() argument
987 &s->auth_tok, mount_crypt_stat, in ecryptfs_parse_tag_70_packet()
1050 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1058 mount_crypt_stat->global_default_fn_cipher_key_bytes); in ecryptfs_parse_tag_70_packet()
1888 crypt_stat->mount_crypt_stat, in ecryptfs_parse_packet_set()
2192 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in write_tag_3_packet() local
2193 crypt_stat->mount_crypt_stat; in write_tag_3_packet()
2211 if (mount_crypt_stat->global_default_cipher_key_size == 0) { in write_tag_3_packet()
2216 mount_crypt_stat->global_default_cipher_key_size = in write_tag_3_packet()
2221 mount_crypt_stat->global_default_cipher_key_size; in write_tag_3_packet()
2397 struct ecryptfs_mount_crypt_stat *mount_crypt_stat = in ecryptfs_generate_key_packet_set() local
2399 ecryptfs_dentry->d_sb)->mount_crypt_stat; in ecryptfs_generate_key_packet_set()
2417 mount_crypt_stat, in ecryptfs_generate_key_packet_set()
2505 ecryptfs_add_global_auth_tok(struct ecryptfs_mount_crypt_stat *mount_crypt_stat, in ecryptfs_add_global_auth_tok() argument
2522 mutex_lock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()
2524 &mount_crypt_stat->global_auth_tok_list); in ecryptfs_add_global_auth_tok()
2525 mutex_unlock(&mount_crypt_stat->global_auth_tok_list_mutex); in ecryptfs_add_global_auth_tok()