Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Ddevmap.c811 struct bpf_dtab_netdev *old_dev; in dev_map_delete_elem() local
817 old_dev = unrcu_pointer(xchg(&dtab->netdev_map[k], NULL)); in dev_map_delete_elem()
818 if (old_dev) { in dev_map_delete_elem()
819 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem()
828 struct bpf_dtab_netdev *old_dev; in dev_map_hash_delete_elem() local
835 old_dev = __dev_map_hash_lookup_elem(map, k); in dev_map_hash_delete_elem()
836 if (old_dev) { in dev_map_hash_delete_elem()
838 hlist_del_init_rcu(&old_dev->index_hlist); in dev_map_hash_delete_elem()
839 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem()
899 struct bpf_dtab_netdev *dev, *old_dev; in __dev_map_update_elem() local
[all …]
/linux-6.6.21/include/trace/events/
Dblock.h517 __field( dev_t, old_dev )
526 __entry->old_dev = dev;
535 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
559 __field( dev_t, old_dev )
569 __entry->old_dev = dev;
579 MAJOR(__entry->old_dev), MINOR(__entry->old_dev),
/linux-6.6.21/drivers/input/keyboard/
Datkbd.c1487 struct input_dev *old_dev, *new_dev; in atkbd_set_extra() local
1509 old_dev = atkbd->dev; in atkbd_set_extra()
1528 atkbd->dev = old_dev; in atkbd_set_extra()
1535 input_unregister_device(old_dev); in atkbd_set_extra()
1575 struct input_dev *old_dev, *new_dev; in atkbd_set_scroll() local
1588 old_dev = atkbd->dev; in atkbd_set_scroll()
1605 atkbd->dev = old_dev; in atkbd_set_scroll()
1611 input_unregister_device(old_dev); in atkbd_set_scroll()
1623 struct input_dev *old_dev, *new_dev; in atkbd_set_set() local
1640 old_dev = atkbd->dev; in atkbd_set_set()
[all …]
/linux-6.6.21/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.c1886 struct input_dev *old_dev, *new_dev; in psmouse_attr_set_protocol() local
1931 old_dev = psmouse->dev; in psmouse_attr_set_protocol()
1962 psmouse->dev = old_dev; in psmouse_attr_set_protocol()
1972 if (old_dev) in psmouse_attr_set_protocol()
1973 input_unregister_device(old_dev); in psmouse_attr_set_protocol()
/linux-6.6.21/drivers/block/
Damiflop.c1660 int old_dev; in floppy_open() local
1664 old_dev = fd_device[drive]; in floppy_open()
1666 if (fd_ref[drive] && old_dev != system) { in floppy_open()
Dfloppy.c3991 int old_dev, new_dev; in floppy_open() local
3998 old_dev = drive_state[drive].fd_device; in floppy_open()
4046 if (old_dev != -1 && old_dev != new_dev) { in floppy_open()
/linux-6.6.21/net/core/
Ddev.c7894 int netdev_adjacent_change_prepare(struct net_device *old_dev, in netdev_adjacent_change_prepare() argument
7908 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare()
7909 netdev_adjacent_dev_disable(dev, old_dev); in netdev_adjacent_change_prepare()
7913 if (old_dev && new_dev != old_dev) in netdev_adjacent_change_prepare()
7914 netdev_adjacent_dev_enable(dev, old_dev); in netdev_adjacent_change_prepare()
7922 void netdev_adjacent_change_commit(struct net_device *old_dev, in netdev_adjacent_change_commit() argument
7931 if (!new_dev || !old_dev) in netdev_adjacent_change_commit()
7934 if (new_dev == old_dev) in netdev_adjacent_change_commit()
7937 netdev_adjacent_dev_enable(dev, old_dev); in netdev_adjacent_change_commit()
7938 __netdev_upper_dev_unlink(old_dev, dev, &priv); in netdev_adjacent_change_commit()
[all …]
/linux-6.6.21/drivers/md/
Ddm-table.c317 struct dm_dev *old_dev, *new_dev; in upgrade_mode() local
319 old_dev = dd->dm_dev; in upgrade_mode()
327 dm_put_table_device(md, old_dev); in upgrade_mode()
/linux-6.6.21/include/linux/
Dnetdevice.h4809 int netdev_adjacent_change_prepare(struct net_device *old_dev,
4813 void netdev_adjacent_change_commit(struct net_device *old_dev,
4816 void netdev_adjacent_change_abort(struct net_device *old_dev,