Lines Matching refs:tmp_dev
187 struct virtio_crypto *vcrypto_dev = NULL, *tmp_dev; in virtcrypto_get_dev_node() local
192 list_for_each_entry(tmp_dev, virtcrypto_devmgr_get_head(), list) { in virtcrypto_get_dev_node()
194 if ((node == dev_to_node(&tmp_dev->vdev->dev) || in virtcrypto_get_dev_node()
195 dev_to_node(&tmp_dev->vdev->dev) < 0) && in virtcrypto_get_dev_node()
196 virtcrypto_dev_started(tmp_dev) && in virtcrypto_get_dev_node()
197 virtcrypto_algo_is_supported(tmp_dev, service, algo)) { in virtcrypto_get_dev_node()
198 ctr = atomic_read(&tmp_dev->ref_count); in virtcrypto_get_dev_node()
200 vcrypto_dev = tmp_dev; in virtcrypto_get_dev_node()
210 list_for_each_entry(tmp_dev, in virtcrypto_get_dev_node()
212 if (virtcrypto_dev_started(tmp_dev) && in virtcrypto_get_dev_node()
213 virtcrypto_algo_is_supported(tmp_dev, in virtcrypto_get_dev_node()
215 vcrypto_dev = tmp_dev; in virtcrypto_get_dev_node()