Searched refs:key_tfm_list_mutex (Results 1 – 3 of 3) sorted by relevance
436 mutex_lock(&key_tfm_list_mutex); in ecryptfs_parse_options()450 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()468 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()472 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()
1642 struct mutex key_tfm_list_mutex; variable1646 mutex_init(&key_tfm_list_mutex); in ecryptfs_init_crypto()1660 mutex_lock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1668 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1679 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_add_new_key_tfm()1726 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_tfm_exists()1761 mutex_lock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()1773 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()
320 extern struct mutex key_tfm_list_mutex;