Searched refs:reg_dev (Results 1 – 4 of 4) sorted by relevance
768 struct dmz_dev *reg_dev, *zoned_dev; in dmz_fixup_devices() local778 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 …]
340 struct virtio_vdpa_device *vd_dev, *reg_dev = NULL; in virtio_vdpa_probe() local360 reg_dev = vd_dev; in virtio_vdpa_probe()369 if (reg_dev) in virtio_vdpa_probe()
514 struct virtio_pci_device *vp_dev, *reg_dev = NULL; in virtio_pci_probe() local552 reg_dev = vp_dev; in virtio_pci_probe()566 if (reg_dev) in virtio_pci_probe()
1099 struct mlxbf_tmfifo_vdev *tm_vdev, *reg_dev = NULL; in mlxbf_tmfifo_create_vdev() local1140 reg_dev = tm_vdev; in mlxbf_tmfifo_create_vdev()1152 if (reg_dev) in mlxbf_tmfifo_create_vdev()