Home
last modified time | relevance | path

Searched refs:tmp_dev (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/crypto/virtio/
A Dvirtio_crypto_mgr.c187 struct virtio_crypto *vcrypto_dev = NULL, *tmp_dev; in virtcrypto_get_dev_node() local
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()
[all …]
/linux/drivers/md/
A Dmd-linear.c219 struct dev_info *tmp_dev; in linear_make_request() local
227 tmp_dev = which_dev(mddev, bio_sector); in linear_make_request()
228 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
229 end_sector = tmp_dev->end_sector; in linear_make_request()
230 data_offset = tmp_dev->rdev->data_offset; in linear_make_request()
236 if (unlikely(is_mddev_broken(tmp_dev->rdev, "linear"))) { in linear_make_request()
250 bio_set_dev(bio, tmp_dev->rdev->bdev); in linear_make_request()
272 bdevname(tmp_dev->rdev->bdev, b), in linear_make_request()
273 (unsigned long long)tmp_dev->rdev->sectors, in linear_make_request()
A Draid0.c513 struct md_rdev *tmp_dev; in raid0_make_request() local
556 tmp_dev = map_sector(mddev, zone, orig_sector, &sector); in raid0_make_request()
559 tmp_dev = map_sector(mddev, zone, sector, &sector); in raid0_make_request()
567 if (unlikely(is_mddev_broken(tmp_dev, "raid0"))) { in raid0_make_request()
572 bio_set_dev(bio, tmp_dev->bdev); in raid0_make_request()
574 tmp_dev->data_offset; in raid0_make_request()
/linux/drivers/crypto/qat/qat_common/
A Dqat_crypto.c53 struct adf_accel_dev *accel_dev = NULL, *tmp_dev; in qat_crypto_get_instance_node() local
57 list_for_each_entry(tmp_dev, adf_devmgr_get_head(), list) { in qat_crypto_get_instance_node()
60 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
61 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
62 adf_dev_started(tmp_dev) && in qat_crypto_get_instance_node()
63 !list_empty(&tmp_dev->crypto_list)) { in qat_crypto_get_instance_node()
64 ctr = atomic_read(&tmp_dev->ref_count); in qat_crypto_get_instance_node()
66 accel_dev = tmp_dev; in qat_crypto_get_instance_node()
76 if (adf_dev_started(tmp_dev) && in qat_crypto_get_instance_node()
77 !list_empty(&tmp_dev->crypto_list)) { in qat_crypto_get_instance_node()
[all …]
/linux/drivers/firmware/arm_ffa/
A Dbus.c153 struct ffa_device *tmp_dev; in ffa_device_is_valid() local
157 tmp_dev = to_ffa_dev(dev); in ffa_device_is_valid()
158 if (tmp_dev == ffa_dev) { in ffa_device_is_valid()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Ddevcom.c80 struct mlx5_core_dev *tmp_dev = NULL; in mlx5_devcom_register_device() local
85 tmp_dev = iter->devs[i]; in mlx5_devcom_register_device()
93 sguid1 = mlx5_query_nic_system_image_guid(tmp_dev); in mlx5_devcom_register_device()
/linux/drivers/pcmcia/
A Dds.c217 struct device *tmp_dev; in pcmcia_get_dev() local
218 tmp_dev = get_device(&p_dev->dev); in pcmcia_get_dev()
219 if (!tmp_dev) in pcmcia_get_dev()
221 return to_pcmcia_dev(tmp_dev); in pcmcia_get_dev()
482 struct pcmcia_device *p_dev, *tmp_dev; in pcmcia_device_add() local
531 list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list) in pcmcia_device_add()
532 if (p_dev->func == tmp_dev->func) { in pcmcia_device_add()
533 p_dev->function_config = tmp_dev->function_config; in pcmcia_device_add()
534 p_dev->irq = tmp_dev->irq; in pcmcia_device_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dlag.c805 struct mlx5_core_dev *tmp_dev; in __mlx5_lag_dev_add_mdev() local
812 tmp_dev = mlx5_get_next_phys_dev(dev); in __mlx5_lag_dev_add_mdev()
813 if (tmp_dev) in __mlx5_lag_dev_add_mdev()
814 ldev = tmp_dev->priv.lag; in __mlx5_lag_dev_add_mdev()
/linux/drivers/iommu/intel/
A Ddmar.c109 struct device *tmp_dev; in dmar_free_dev_scope() local
112 for_each_active_dev_scope(*devices, *cnt, i, tmp_dev) in dmar_free_dev_scope()
113 put_device(tmp_dev); in dmar_free_dev_scope()
/linux/drivers/net/usb/
A Dhso.c2878 struct hso_device *tmp_dev = NULL; in hso_probe() local
2918 tmp_dev = hso_dev; in hso_probe()
2939 if (tmp_dev) in hso_probe()
2940 hso_dev = tmp_dev; in hso_probe()
/linux/drivers/target/
A Dtarget_core_user.c3176 struct tcmu_dev *udev, *tmp_dev; in check_timedout_devices() local
3183 list_for_each_entry_safe(udev, tmp_dev, &devs, timedout_entry) { in check_timedout_devices()

Completed in 37 milliseconds