Searched refs:key_tfm_list_mutex (Results 1 – 3 of 3) sorted by relevance
421 mutex_lock(&key_tfm_list_mutex); in ecryptfs_parse_options()435 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()453 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()457 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()
1606 struct mutex key_tfm_list_mutex; variable1610 mutex_init(&key_tfm_list_mutex); in ecryptfs_init_crypto()1624 mutex_lock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1631 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1642 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_add_new_key_tfm()1687 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_tfm_exists()1722 mutex_lock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()1734 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()
321 extern struct mutex key_tfm_list_mutex;