Searched refs:reg_dev (Results 1 – 6 of 6) sorted by relevance
766 struct dmz_dev *reg_dev = NULL; in dmz_fixup_devices() local775 reg_dev = &dmz->dev[0]; in dmz_fixup_devices()776 if (!(reg_dev->flags & DMZ_BDEV_REGULAR)) { in dmz_fixup_devices()809 if (reg_dev) { in dmz_fixup_devices()812 reg_dev->zone_nr_sectors = zone_nr_sectors; in dmz_fixup_devices()813 reg_dev->nr_zones = in dmz_fixup_devices()814 DIV_ROUND_UP_SECTOR_T(reg_dev->capacity, in dmz_fixup_devices()815 reg_dev->zone_nr_sectors); in dmz_fixup_devices()816 reg_dev->zone_offset = 0; in dmz_fixup_devices()817 zone_offset = reg_dev->nr_zones; in dmz_fixup_devices()
492 struct virtio_vdpa_device *vd_dev, *reg_dev = NULL; in virtio_vdpa_probe() local512 reg_dev = vd_dev; in virtio_vdpa_probe()521 if (reg_dev) in virtio_vdpa_probe()
523 struct virtio_pci_device *vp_dev, *reg_dev = NULL; in virtio_pci_probe() local561 reg_dev = vp_dev; in virtio_pci_probe()575 if (reg_dev) in virtio_pci_probe()
1193 struct mlxbf_tmfifo_vdev *tm_vdev, *reg_dev = NULL; in mlxbf_tmfifo_create_vdev() local1234 reg_dev = tm_vdev; in mlxbf_tmfifo_create_vdev()1246 if (reg_dev) in mlxbf_tmfifo_create_vdev()
531 struct net_device *reg_dev = NULL; in pim6_rcv() local567 reg_dev = vif_dev_read(&mrt->vif_table[reg_vif_num]); in pim6_rcv()569 if (!reg_dev) in pim6_rcv()578 skb_tunnel_rx(skb, reg_dev, dev_net(reg_dev)); in pim6_rcv()
582 struct net_device *reg_dev = NULL; in __pim_rcv() local600 reg_dev = vif_dev_read(&mrt->vif_table[vif_num]); in __pim_rcv()601 if (!reg_dev) in __pim_rcv()610 skb_tunnel_rx(skb, reg_dev, dev_net(reg_dev)); in __pim_rcv()