Lines Matching refs:tfm_mutex
594 struct mutex *tfm_mutex; member
645 &s->tfm_mutex, mount_crypt_stat->global_default_fn_cipher_name); in ecryptfs_write_tag_70_packet()
652 mutex_lock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
844 mutex_unlock(s->tfm_mutex); in ecryptfs_write_tag_70_packet()
864 struct mutex *tfm_mutex; member
971 &s->tfm_mutex, in ecryptfs_parse_tag_70_packet()
979 mutex_lock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1081 mutex_unlock(s->tfm_mutex); in ecryptfs_parse_tag_70_packet()
1651 struct mutex *tfm_mutex; in decrypt_passphrase_encrypted_session_key() local
1664 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in decrypt_passphrase_encrypted_session_key()
1694 mutex_lock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1697 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1711 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
1720 mutex_unlock(tfm_mutex); in decrypt_passphrase_encrypted_session_key()
2184 struct mutex *tfm_mutex = NULL; in write_tag_3_packet() local
2197 rc = ecryptfs_get_tfm_and_mutex_for_cipher_name(&tfm, &tfm_mutex, in write_tag_3_packet()
2279 mutex_lock(tfm_mutex); in write_tag_3_packet()
2283 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2291 mutex_unlock(tfm_mutex); in write_tag_3_packet()
2308 mutex_unlock(tfm_mutex); in write_tag_3_packet()