new_dev 233 arch/x86/platform/intel-mid/sfi.c struct spi_board_info *new_dev; new_dev 240 arch/x86/platform/intel-mid/sfi.c new_dev = kzalloc(sizeof(*sdev), GFP_KERNEL); new_dev 241 arch/x86/platform/intel-mid/sfi.c if (!new_dev) { new_dev 246 arch/x86/platform/intel-mid/sfi.c *new_dev = *sdev; new_dev 248 arch/x86/platform/intel-mid/sfi.c spi_devs[spi_next_dev++] = new_dev; new_dev 254 arch/x86/platform/intel-mid/sfi.c struct i2c_board_info *new_dev; new_dev 261 arch/x86/platform/intel-mid/sfi.c new_dev = kzalloc(sizeof(*idev), GFP_KERNEL); new_dev 262 arch/x86/platform/intel-mid/sfi.c if (!new_dev) { new_dev 267 arch/x86/platform/intel-mid/sfi.c *new_dev = *idev; new_dev 270 arch/x86/platform/intel-mid/sfi.c i2c_devs[i2c_next_dev++] = new_dev; new_dev 4003 drivers/block/floppy.c int old_dev, new_dev; new_dev 4055 drivers/block/floppy.c new_dev = MINOR(bdev->bd_dev); new_dev 4056 drivers/block/floppy.c UDRS->fd_device = new_dev; new_dev 4057 drivers/block/floppy.c set_capacity(disks[drive], floppy_sizes[new_dev]); new_dev 4058 drivers/block/floppy.c if (old_dev != -1 && old_dev != new_dev) { new_dev 124 drivers/bus/moxtet.c struct moxtet_device *new_dev = data; new_dev 126 drivers/bus/moxtet.c if (mdev->moxtet == new_dev->moxtet && mdev->id == new_dev->id && new_dev 127 drivers/bus/moxtet.c mdev->idx == new_dev->idx) new_dev 1344 drivers/input/keyboard/atkbd.c struct input_dev *old_dev, *new_dev; new_dev 1370 drivers/input/keyboard/atkbd.c new_dev = input_allocate_device(); new_dev 1371 drivers/input/keyboard/atkbd.c if (!new_dev) new_dev 1374 drivers/input/keyboard/atkbd.c atkbd->dev = new_dev; new_dev 1383 drivers/input/keyboard/atkbd.c input_free_device(new_dev); new_dev 1432 drivers/input/keyboard/atkbd.c struct input_dev *old_dev, *new_dev; new_dev 1448 drivers/input/keyboard/atkbd.c new_dev = input_allocate_device(); new_dev 1449 drivers/input/keyboard/atkbd.c if (!new_dev) new_dev 1452 drivers/input/keyboard/atkbd.c atkbd->dev = new_dev; new_dev 1459 drivers/input/keyboard/atkbd.c input_free_device(new_dev); new_dev 1480 drivers/input/keyboard/atkbd.c struct input_dev *old_dev, *new_dev; new_dev 1501 drivers/input/keyboard/atkbd.c new_dev = input_allocate_device(); new_dev 1502 drivers/input/keyboard/atkbd.c if (!new_dev) new_dev 1505 drivers/input/keyboard/atkbd.c atkbd->dev = new_dev; new_dev 1514 drivers/input/keyboard/atkbd.c input_free_device(new_dev); new_dev 1535 drivers/input/keyboard/atkbd.c struct input_dev *old_dev, *new_dev; new_dev 1555 drivers/input/keyboard/atkbd.c new_dev = input_allocate_device(); new_dev 1556 drivers/input/keyboard/atkbd.c if (!new_dev) new_dev 1559 drivers/input/keyboard/atkbd.c atkbd->dev = new_dev; new_dev 1567 drivers/input/keyboard/atkbd.c input_free_device(new_dev); new_dev 1589 drivers/input/keyboard/atkbd.c struct input_dev *old_dev, *new_dev; new_dev 1605 drivers/input/keyboard/atkbd.c new_dev = input_allocate_device(); new_dev 1606 drivers/input/keyboard/atkbd.c if (!new_dev) new_dev 1609 drivers/input/keyboard/atkbd.c atkbd->dev = new_dev; new_dev 1615 drivers/input/keyboard/atkbd.c input_free_device(new_dev); new_dev 820 drivers/input/mouse/hgpk.c struct input_dev *new_dev; new_dev 829 drivers/input/mouse/hgpk.c new_dev = input_allocate_device(); new_dev 830 drivers/input/mouse/hgpk.c if (!new_dev) new_dev 841 drivers/input/mouse/hgpk.c hgpk_setup_input_device(new_dev, old_dev, new_mode); new_dev 845 drivers/input/mouse/hgpk.c err = input_register_device(new_dev); new_dev 849 drivers/input/mouse/hgpk.c psmouse->dev = new_dev; new_dev 855 drivers/input/mouse/hgpk.c input_free_device(new_dev); new_dev 1902 drivers/input/mouse/psmouse-base.c struct input_dev *old_dev, *new_dev; new_dev 1914 drivers/input/mouse/psmouse-base.c new_dev = input_allocate_device(); new_dev 1915 drivers/input/mouse/psmouse-base.c if (!new_dev) new_dev 1922 drivers/input/mouse/psmouse-base.c input_free_device(new_dev); new_dev 1931 drivers/input/mouse/psmouse-base.c input_free_device(new_dev); new_dev 1936 drivers/input/mouse/psmouse-base.c input_free_device(new_dev); new_dev 1955 drivers/input/mouse/psmouse-base.c psmouse->dev = new_dev; new_dev 1977 drivers/input/mouse/psmouse-base.c input_free_device(new_dev); new_dev 387 drivers/md/dm-table.c struct dm_dev *old_dev, *new_dev; new_dev 392 drivers/md/dm-table.c dd->dm_dev->mode | new_mode, &new_dev); new_dev 396 drivers/md/dm-table.c dd->dm_dev = new_dev; new_dev 4488 drivers/md/md.c __ATTR(new_dev, S_IWUSR, null_show, new_dev_store); new_dev 85 drivers/media/dvb-frontends/stv090x.c struct stv090x_dev *new_dev; new_dev 88 drivers/media/dvb-frontends/stv090x.c new_dev = kmalloc(sizeof(struct stv090x_dev), GFP_KERNEL); new_dev 89 drivers/media/dvb-frontends/stv090x.c if (new_dev != NULL) { new_dev 90 drivers/media/dvb-frontends/stv090x.c new_dev->internal = internal; new_dev 91 drivers/media/dvb-frontends/stv090x.c new_dev->next_dev = NULL; new_dev 95 drivers/media/dvb-frontends/stv090x.c stv090x_first_dev = new_dev; new_dev 101 drivers/media/dvb-frontends/stv090x.c temp_dev->next_dev = new_dev; new_dev 105 drivers/media/dvb-frontends/stv090x.c return new_dev; new_dev 5685 drivers/net/ethernet/broadcom/cnic.c int new_dev = 0; new_dev 5693 drivers/net/ethernet/broadcom/cnic.c new_dev = 1; new_dev 5700 drivers/net/ethernet/broadcom/cnic.c if (new_dev) new_dev 267 drivers/net/usb/qmi_wwan.c struct net_device *new_dev; new_dev 271 drivers/net/usb/qmi_wwan.c new_dev = alloc_netdev(sizeof(struct qmimux_priv), new_dev 273 drivers/net/usb/qmi_wwan.c if (!new_dev) new_dev 276 drivers/net/usb/qmi_wwan.c dev_net_set(new_dev, dev_net(real_dev)); new_dev 277 drivers/net/usb/qmi_wwan.c priv = netdev_priv(new_dev); new_dev 287 drivers/net/usb/qmi_wwan.c err = register_netdevice(new_dev); new_dev 294 drivers/net/usb/qmi_wwan.c err = netdev_upper_dev_link(real_dev, new_dev, NULL); new_dev 298 drivers/net/usb/qmi_wwan.c netif_stacked_transfer_operstate(real_dev, new_dev); new_dev 303 drivers/net/usb/qmi_wwan.c unregister_netdevice(new_dev); new_dev 307 drivers/net/usb/qmi_wwan.c free_netdev(new_dev); new_dev 148 drivers/opp/debugfs.c struct opp_device *new_dev; new_dev 153 drivers/opp/debugfs.c list_for_each_entry(new_dev, &opp_table->dev_list, node) new_dev 154 drivers/opp/debugfs.c if (new_dev != opp_dev) new_dev 158 drivers/opp/debugfs.c dev = new_dev->dev; new_dev 159 drivers/opp/debugfs.c debugfs_remove_recursive(new_dev->dentry); new_dev 171 drivers/opp/debugfs.c new_dev->dentry = dentry; new_dev 70 include/linux/mfd/max14577.h int (*set_gpio_pogo_cb) (int new_dev); new_dev 4323 include/linux/netdevice.h struct net_device *new_dev, new_dev 4327 include/linux/netdevice.h struct net_device *new_dev, new_dev 4330 include/linux/netdevice.h struct net_device *new_dev, new_dev 215 net/8021q/vlan.c struct net_device *new_dev; new_dev 256 net/8021q/vlan.c new_dev = alloc_netdev(sizeof(struct vlan_dev_priv), name, new_dev 259 net/8021q/vlan.c if (new_dev == NULL) new_dev 262 net/8021q/vlan.c dev_net_set(new_dev, net); new_dev 266 net/8021q/vlan.c new_dev->mtu = real_dev->mtu; new_dev 268 net/8021q/vlan.c vlan = vlan_dev_priv(new_dev); new_dev 275 net/8021q/vlan.c new_dev->rtnl_link_ops = &vlan_link_ops; new_dev 276 net/8021q/vlan.c err = register_vlan_dev(new_dev, NULL); new_dev 283 net/8021q/vlan.c if (new_dev->reg_state == NETREG_UNINITIALIZED) new_dev 284 net/8021q/vlan.c free_netdev(new_dev); new_dev 1208 net/bluetooth/6lowpan.c struct lowpan_btle_dev *entry, *tmp, *new_dev; new_dev 1221 net/bluetooth/6lowpan.c new_dev = kmalloc(sizeof(*new_dev), GFP_ATOMIC); new_dev 1222 net/bluetooth/6lowpan.c if (!new_dev) new_dev 1225 net/bluetooth/6lowpan.c new_dev->netdev = entry->netdev; new_dev 1226 net/bluetooth/6lowpan.c INIT_LIST_HEAD(&new_dev->list); new_dev 1228 net/bluetooth/6lowpan.c list_add_rcu(&new_dev->list, &devices); new_dev 7450 net/core/dev.c struct net_device *new_dev, new_dev 7456 net/core/dev.c if (!new_dev) new_dev 7459 net/core/dev.c if (old_dev && new_dev != old_dev) new_dev 7462 net/core/dev.c err = netdev_upper_dev_link(new_dev, dev, extack); new_dev 7464 net/core/dev.c if (old_dev && new_dev != old_dev) new_dev 7474 net/core/dev.c struct net_device *new_dev, new_dev 7477 net/core/dev.c if (!new_dev || !old_dev) new_dev 7480 net/core/dev.c if (new_dev == old_dev) new_dev 7489 net/core/dev.c struct net_device *new_dev, new_dev 7492 net/core/dev.c if (!new_dev) new_dev 7495 net/core/dev.c if (old_dev && new_dev != old_dev) new_dev 7498 net/core/dev.c netdev_upper_dev_unlink(new_dev, dev);