Home
last modified time | relevance | path

Searched refs:reg_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/md/
Ddm-zoned-target.c768 struct dmz_dev *reg_dev, *zoned_dev; in dmz_fixup_devices() local
778 reg_dev = &dmz->dev[0]; in dmz_fixup_devices()
779 if (!(reg_dev->flags & DMZ_BDEV_REGULAR)) { in dmz_fixup_devices()
801 reg_dev = NULL; in dmz_fixup_devices()
812 if (reg_dev) { in dmz_fixup_devices()
815 reg_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()
816 reg_dev->nr_zones = in dmz_fixup_devices()
817 DIV_ROUND_UP_SECTOR_T(reg_dev->capacity, in dmz_fixup_devices()
818 reg_dev->zone_nr_sectors); in dmz_fixup_devices()
819 reg_dev->zone_offset = 0; in dmz_fixup_devices()
[all …]
/drivers/virtio/
Dvirtio_vdpa.c340 struct virtio_vdpa_device *vd_dev, *reg_dev = NULL; in virtio_vdpa_probe() local
360 reg_dev = vd_dev; in virtio_vdpa_probe()
369 if (reg_dev) in virtio_vdpa_probe()
Dvirtio_pci_common.c514 struct virtio_pci_device *vp_dev, *reg_dev = NULL; in virtio_pci_probe() local
552 reg_dev = vp_dev; in virtio_pci_probe()
566 if (reg_dev) in virtio_pci_probe()
/drivers/platform/mellanox/
Dmlxbf-tmfifo.c1099 struct mlxbf_tmfifo_vdev *tm_vdev, *reg_dev = NULL; in mlxbf_tmfifo_create_vdev() local
1140 reg_dev = tm_vdev; in mlxbf_tmfifo_create_vdev()
1152 if (reg_dev) in mlxbf_tmfifo_create_vdev()