Lines Matching refs:tfm_mutex
599 struct mutex *tfm_mutex; member
653 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
660 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
868 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
886 struct mutex *tfm_mutex; member
996 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
1004 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1100 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1669 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1683 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1713 mutex_lock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1718 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1725 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
2188 struct mutex *tfm_mutex = NULL; in write_tag_3_packet() local
2203 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in write_tag_3_packet()
2286 mutex_lock(tfm_mutex); in write_tag_3_packet()
2290 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2300 mutex_unlock(tfm_mutex); in write_tag_3_packet()