/kernel/linux/linux-5.10/drivers/opp/ |
D | debugfs.c | 190 struct opp_device *new_dev; in opp_migrate_dentry() local 195 list_for_each_entry(new_dev, &opp_table->dev_list, node) in opp_migrate_dentry() 196 if (new_dev != opp_dev) in opp_migrate_dentry() 200 dev = new_dev->dev; in opp_migrate_dentry() 201 debugfs_remove_recursive(new_dev->dentry); in opp_migrate_dentry() 213 new_dev->dentry = dentry; in opp_migrate_dentry()
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/ |
D | sfi.c | 233 struct spi_board_info *new_dev; in intel_scu_spi_device_register() local 240 new_dev = kzalloc(sizeof(*sdev), GFP_KERNEL); in intel_scu_spi_device_register() 241 if (!new_dev) { in intel_scu_spi_device_register() 246 *new_dev = *sdev; in intel_scu_spi_device_register() 248 spi_devs[spi_next_dev++] = new_dev; in intel_scu_spi_device_register() 254 struct i2c_board_info *new_dev; in intel_scu_i2c_device_register() local 261 new_dev = kzalloc(sizeof(*idev), GFP_KERNEL); in intel_scu_i2c_device_register() 262 if (!new_dev) { in intel_scu_i2c_device_register() 267 *new_dev = *idev; in intel_scu_i2c_device_register() 270 i2c_devs[i2c_next_dev++] = new_dev; in intel_scu_i2c_device_register()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | atkbd.c | 1439 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local 1465 new_dev = input_allocate_device(); in atkbd_set_extra() 1466 if (!new_dev) in atkbd_set_extra() 1469 atkbd->dev = new_dev; in atkbd_set_extra() 1478 input_free_device(new_dev); in atkbd_set_extra() 1527 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local 1543 new_dev = input_allocate_device(); in atkbd_set_scroll() 1544 if (!new_dev) in atkbd_set_scroll() 1547 atkbd->dev = new_dev; in atkbd_set_scroll() 1554 input_free_device(new_dev); in atkbd_set_scroll() [all …]
|
/kernel/linux/linux-5.10/net/8021q/ |
D | vlan.c | 213 struct net_device *new_dev; in register_vlan_device() local 254 new_dev = alloc_netdev(sizeof(struct vlan_dev_priv), name, in register_vlan_device() 257 if (new_dev == NULL) in register_vlan_device() 260 dev_net_set(new_dev, net); in register_vlan_device() 264 new_dev->mtu = real_dev->mtu; in register_vlan_device() 266 vlan = vlan_dev_priv(new_dev); in register_vlan_device() 273 new_dev->rtnl_link_ops = &vlan_link_ops; in register_vlan_device() 274 err = register_vlan_dev(new_dev, NULL); in register_vlan_device() 281 free_netdev(new_dev); in register_vlan_device()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-srv.c | 440 rnbd_srv_find_or_add_srv_dev(struct rnbd_srv_dev *new_dev) in rnbd_srv_find_or_add_srv_dev() argument 446 if (!strncmp(dev->id, new_dev->id, sizeof(dev->id))) { in rnbd_srv_find_or_add_srv_dev() 457 list_add(&new_dev->list, &dev_list); in rnbd_srv_find_or_add_srv_dev() 460 return new_dev; in rnbd_srv_find_or_add_srv_dev() 514 struct rnbd_srv_dev *new_dev, *dev; in rnbd_srv_get_or_create_srv_dev() local 516 new_dev = rnbd_srv_init_srv_dev(rnbd_dev->name); in rnbd_srv_get_or_create_srv_dev() 517 if (IS_ERR(new_dev)) in rnbd_srv_get_or_create_srv_dev() 518 return new_dev; in rnbd_srv_get_or_create_srv_dev() 520 dev = rnbd_srv_find_or_add_srv_dev(new_dev); in rnbd_srv_get_or_create_srv_dev() 521 if (dev != new_dev) in rnbd_srv_get_or_create_srv_dev() [all …]
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | qmi_wwan.c | 245 struct net_device *new_dev; in qmimux_register_device() local 249 new_dev = alloc_netdev(sizeof(struct qmimux_priv), in qmimux_register_device() 251 if (!new_dev) in qmimux_register_device() 254 dev_net_set(new_dev, dev_net(real_dev)); in qmimux_register_device() 255 priv = netdev_priv(new_dev); in qmimux_register_device() 265 err = register_netdevice(new_dev); in qmimux_register_device() 272 err = netdev_upper_dev_link(real_dev, new_dev, NULL); in qmimux_register_device() 276 netif_stacked_transfer_operstate(real_dev, new_dev); in qmimux_register_device() 281 unregister_netdevice(new_dev); in qmimux_register_device() 285 free_netdev(new_dev); in qmimux_register_device()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
D | hgpk.c | 820 struct input_dev *new_dev; in attr_set_mode() local 829 new_dev = input_allocate_device(); in attr_set_mode() 830 if (!new_dev) in attr_set_mode() 841 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode() 845 err = input_register_device(new_dev); in attr_set_mode() 849 psmouse->dev = new_dev; in attr_set_mode() 855 input_free_device(new_dev); in attr_set_mode()
|
D | psmouse-base.c | 1902 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local 1914 new_dev = input_allocate_device(); in psmouse_attr_set_protocol() 1915 if (!new_dev) in psmouse_attr_set_protocol() 1922 input_free_device(new_dev); in psmouse_attr_set_protocol() 1931 input_free_device(new_dev); in psmouse_attr_set_protocol() 1936 input_free_device(new_dev); in psmouse_attr_set_protocol() 1955 psmouse->dev = new_dev; in psmouse_attr_set_protocol() 1977 input_free_device(new_dev); in psmouse_attr_set_protocol()
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
D | max14577.h | 70 int (*set_gpio_pogo_cb) (int new_dev);
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | 6lowpan.c | 1222 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices() local 1235 new_dev = kmalloc(sizeof(*new_dev), GFP_ATOMIC); in disconnect_devices() 1236 if (!new_dev) in disconnect_devices() 1239 new_dev->netdev = entry->netdev; in disconnect_devices() 1240 INIT_LIST_HEAD(&new_dev->list); in disconnect_devices() 1242 list_add_rcu(&new_dev->list, &devices); in disconnect_devices()
|
/kernel/linux/linux-5.10/drivers/bus/ |
D | moxtet.c | 123 struct moxtet_device *new_dev = data; in moxtet_dev_check() local 125 if (mdev->moxtet == new_dev->moxtet && mdev->id == new_dev->id && in moxtet_dev_check() 126 mdev->idx == new_dev->idx) in moxtet_dev_check()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ipmr.c | 443 struct net_device *tunnel_dev, *new_dev; in ipmr_new_tunnel() local 465 new_dev = __dev_get_by_name(net, p.name); in ipmr_new_tunnel() 466 if (!new_dev) in ipmr_new_tunnel() 469 new_dev->flags |= IFF_MULTICAST; in ipmr_new_tunnel() 470 if (!ipmr_init_vif_indev(new_dev)) in ipmr_new_tunnel() 472 if (dev_open(new_dev, NULL)) in ipmr_new_tunnel() 474 dev_hold(new_dev); in ipmr_new_tunnel() 475 err = dev_set_allmulti(new_dev, 1); in ipmr_new_tunnel() 477 dev_close(new_dev); in ipmr_new_tunnel() 480 dev_put(new_dev); in ipmr_new_tunnel() [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-table.c | 334 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local 339 dd->dm_dev->mode | new_mode, &new_dev); in upgrade_mode() 343 dd->dm_dev = new_dev; in upgrade_mode()
|
D | md.c | 4652 __ATTR(new_dev, S_IWUSR, null_show, new_dev_store);
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stv090x.c | 85 struct stv090x_dev *new_dev; in append_internal() local 88 new_dev = kmalloc(sizeof(struct stv090x_dev), GFP_KERNEL); in append_internal() 89 if (new_dev != NULL) { in append_internal() 90 new_dev->internal = internal; in append_internal() 91 new_dev->next_dev = NULL; in append_internal() 95 stv090x_first_dev = new_dev; in append_internal() 101 temp_dev->next_dev = new_dev; in append_internal() 105 return new_dev; in append_internal()
|
/kernel/linux/linux-5.10/net/core/ |
D | dev.c | 8026 struct net_device *new_dev, in netdev_adjacent_change_prepare() argument 8036 if (!new_dev) in netdev_adjacent_change_prepare() 8039 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare() 8041 err = __netdev_upper_dev_link(new_dev, dev, false, NULL, NULL, &priv, in netdev_adjacent_change_prepare() 8044 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare() 8054 struct net_device *new_dev, in netdev_adjacent_change_commit() argument 8062 if (!new_dev || !old_dev) in netdev_adjacent_change_commit() 8065 if (new_dev == old_dev) in netdev_adjacent_change_commit() 8074 struct net_device *new_dev, in netdev_adjacent_change_abort() argument 8082 if (!new_dev) in netdev_adjacent_change_abort() [all …]
|
/kernel/linux/linux-5.10/drivers/block/ |
D | floppy.c | 4081 int old_dev, new_dev; in floppy_open() local 4133 new_dev = MINOR(bdev->bd_dev); in floppy_open() 4134 drive_state[drive].fd_device = new_dev; in floppy_open() 4135 set_capacity(disks[drive], floppy_sizes[new_dev]); in floppy_open() 4136 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netdevice.h | 4697 struct net_device *new_dev, 4701 struct net_device *new_dev, 4704 struct net_device *new_dev,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | cnic.c | 5684 int new_dev = 0; in cnic_netdev_event() local 5692 new_dev = 1; in cnic_netdev_event() 5699 if (new_dev) in cnic_netdev_event()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | md.rst | 279 new_dev
|