Lines Matching refs:tfm_mutex
600 struct mutex *tfm_mutex; member
654 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
661 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
869 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
887 struct mutex *tfm_mutex; member
997 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
1005 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1101 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1671 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1685 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1715 mutex_lock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1720 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1727 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
2191 struct mutex *tfm_mutex = NULL; in write_tag_3_packet() local
2206 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&desc.tfm, &tfm_mutex, in write_tag_3_packet()
2289 mutex_lock(tfm_mutex); in write_tag_3_packet()
2293 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2303 mutex_unlock(tfm_mutex); in write_tag_3_packet()