Lines Matching refs:tmp_tfm
1596 struct ecryptfs_key_tfm *tmp_tfm; in ecryptfs_add_new_key_tfm() local
1601 tmp_tfm = kmem_cache_alloc(ecryptfs_key_tfm_cache, GFP_KERNEL); in ecryptfs_add_new_key_tfm()
1603 (*key_tfm) = tmp_tfm; in ecryptfs_add_new_key_tfm()
1604 if (!tmp_tfm) { in ecryptfs_add_new_key_tfm()
1608 mutex_init(&tmp_tfm->key_tfm_mutex); in ecryptfs_add_new_key_tfm()
1609 strscpy(tmp_tfm->cipher_name, cipher_name); in ecryptfs_add_new_key_tfm()
1610 tmp_tfm->key_size = key_size; in ecryptfs_add_new_key_tfm()
1611 rc = ecryptfs_process_key_cipher(&tmp_tfm->key_tfm, in ecryptfs_add_new_key_tfm()
1612 tmp_tfm->cipher_name, in ecryptfs_add_new_key_tfm()
1613 &tmp_tfm->key_size); in ecryptfs_add_new_key_tfm()
1617 tmp_tfm->cipher_name, rc); in ecryptfs_add_new_key_tfm()
1618 kmem_cache_free(ecryptfs_key_tfm_cache, tmp_tfm); in ecryptfs_add_new_key_tfm()
1623 list_add(&tmp_tfm->key_tfm_list, &key_tfm_list); in ecryptfs_add_new_key_tfm()