| H A D | switchdev.c | 711 struct switchdev_notifier_port_obj_info *port_obj_info, in __switchdev_handle_port_obj_add() argument 719 struct switchdev_notifier_info *info = &port_obj_info->info; in __switchdev_handle_port_obj_add() 728 err = add_cb(dev, info->ctx, port_obj_info->obj, extack); in __switchdev_handle_port_obj_add() 730 port_obj_info->handled = true; in __switchdev_handle_port_obj_add() 753 err = __switchdev_handle_port_obj_add(lower_dev, port_obj_info, in __switchdev_handle_port_obj_add() 763 if (!foreign_dev_check_cb || port_obj_info->obj->flags & SWITCHDEV_F_NO_FOREIGN) in __switchdev_handle_port_obj_add() 777 return __switchdev_handle_port_obj_add(br, port_obj_info, check_cb, in __switchdev_handle_port_obj_add() 786 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add() argument 794 err = __switchdev_handle_port_obj_add(dev, port_obj_info, check_cb, in switchdev_handle_port_obj_add() 807 struct switchdev_notifier_port_obj_info *port_obj_info, in switchdev_handle_port_obj_add_foreign() argument 826 __switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) __switchdev_handle_port_obj_del() argument 897 switchdev_handle_port_obj_del(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del() argument 917 switchdev_handle_port_obj_del_foreign(struct net_device * dev,struct switchdev_notifier_port_obj_info * port_obj_info,bool (* check_cb)(const struct net_device * dev),bool (* foreign_dev_check_cb)(const struct net_device * dev,const struct net_device * foreign_dev),int (* del_cb)(struct net_device * dev,const void * ctx,const struct switchdev_obj * obj)) switchdev_handle_port_obj_del_foreign() argument [all...] |