Searched refs:key_tfm_list_mutex (Results 1 – 3 of 3) sorted by relevance
435 mutex_lock(&key_tfm_list_mutex); in ecryptfs_parse_options()449 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()467 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()471 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_parse_options()
1612 struct mutex key_tfm_list_mutex; variable1616 mutex_init(&key_tfm_list_mutex); in ecryptfs_init_crypto()1630 mutex_lock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1637 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_destroy_crypto()1648 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_add_new_key_tfm()1693 BUG_ON(!mutex_is_locked(&key_tfm_list_mutex)); in ecryptfs_tfm_exists()1728 mutex_lock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()1740 mutex_unlock(&key_tfm_list_mutex); in ecryptfs_get_tfm_and_mutex_for_cipher_name()
335 extern struct mutex key_tfm_list_mutex;