Lines Matching refs:tfm_mutex
607 struct mutex *tfm_mutex; member
658 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
665 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
858 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
878 struct mutex *tfm_mutex; member
985 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
993 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1094 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1664 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1677 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1707 mutex_lock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1710 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1724 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1733 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
2197 struct mutex *tfm_mutex = NULL; in write_tag_3_packet() local
2210 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in write_tag_3_packet()
2292 mutex_lock(tfm_mutex); in write_tag_3_packet()
2296 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2304 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2321 mutex_unlock(tfm_mutex); in write_tag_3_packet()