Home
last modified time | relevance | path

Searched refs:old_dev (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/kernel/bpf/
Ddevmap.c556 struct bpf_dtab_netdev *old_dev; in dev_map_delete_elem() local
569 old_dev = xchg(&dtab->netdev_map[k], NULL); in dev_map_delete_elem()
570 if (old_dev) in dev_map_delete_elem()
571 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem()
578 struct bpf_dtab_netdev *old_dev; in dev_map_hash_delete_elem() local
585 old_dev = __dev_map_hash_lookup_elem(map, k); in dev_map_hash_delete_elem()
586 if (old_dev) { in dev_map_hash_delete_elem()
588 hlist_del_init_rcu(&old_dev->index_hlist); in dev_map_hash_delete_elem()
589 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem()
648 struct bpf_dtab_netdev *dev, *old_dev; in __dev_map_update_elem() local
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Datkbd.c1439 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local
1461 old_dev = atkbd->dev; in atkbd_set_extra()
1480 atkbd->dev = old_dev; in atkbd_set_extra()
1487 input_unregister_device(old_dev); in atkbd_set_extra()
1527 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local
1540 old_dev = atkbd->dev; in atkbd_set_scroll()
1557 atkbd->dev = old_dev; in atkbd_set_scroll()
1563 input_unregister_device(old_dev); in atkbd_set_scroll()
1575 struct input_dev *old_dev, *new_dev; in atkbd_set_set() local
1592 old_dev = atkbd->dev; in atkbd_set_set()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dblock.h580 __field( dev_t, old_dev )
589 __entry->old_dev = dev;
598 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
622 __field( dev_t, old_dev )
632 __entry->old_dev = dev;
642 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
/kernel/linux/linux-5.10/drivers/input/mouse/
Dhgpk.c819 struct input_dev *old_dev = psmouse->dev; in attr_set_mode() local
841 hgpk_setup_input_device(new_dev, old_dev, new_mode); in attr_set_mode()
850 input_unregister_device(old_dev); in attr_set_mode()
Dpsmouse-base.c1902 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local
1947 old_dev = psmouse->dev; in psmouse_attr_set_protocol()
1978 psmouse->dev = old_dev; in psmouse_attr_set_protocol()
1988 if (old_dev) in psmouse_attr_set_protocol()
1989 input_unregister_device(old_dev); in psmouse_attr_set_protocol()
/kernel/linux/linux-5.10/net/core/
Ddev.c8025 int netdev_adjacent_change_prepare(struct net_device *old_dev, in netdev_adjacent_change_prepare() argument
8039 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare()
8040 netdev_adjacent_dev_disable(dev, old_dev); in netdev_adjacent_change_prepare()
8044 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare()
8045 netdev_adjacent_dev_enable(dev, old_dev); in netdev_adjacent_change_prepare()
8053 void netdev_adjacent_change_commit(struct net_device *old_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()
8068 netdev_adjacent_dev_enable(dev, old_dev); in netdev_adjacent_change_commit()
8069 __netdev_upper_dev_unlink(old_dev, dev, &priv); in netdev_adjacent_change_commit()
[all …]
/kernel/linux/linux-5.10/drivers/md/
Ddm-table.c334 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local
336 old_dev = dd->dm_dev; in upgrade_mode()
344 dm_put_table_device(md, old_dev); in upgrade_mode()
/kernel/linux/linux-5.10/drivers/block/
Damiflop.c1661 int old_dev; in floppy_open() local
1665 old_dev = fd_device[drive]; in floppy_open()
1667 if (fd_ref[drive] && old_dev != system) { in floppy_open()
Dfloppy.c4081 int old_dev, new_dev; in floppy_open() local
4088 old_dev = drive_state[drive].fd_device; in floppy_open()
4136 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h4696 int netdev_adjacent_change_prepare(struct net_device *old_dev,
4700 void netdev_adjacent_change_commit(struct net_device *old_dev,
4703 void netdev_adjacent_change_abort(struct net_device *old_dev,