Lines Matching refs:foreign_dev_check_cb

457 	bool (*foreign_dev_check_cb)(const struct net_device *dev,  member
467 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_walk() local
473 foreign_dev_check_cb = switchdev_priv->foreign_dev_check_cb; in switchdev_lower_dev_walk()
476 if (check_cb(lower_dev) && !foreign_dev_check_cb(lower_dev, dev)) { in switchdev_lower_dev_walk()
487 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find_rcu()
492 .foreign_dev_check_cb = foreign_dev_check_cb, in switchdev_lower_dev_find_rcu()
508 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_lower_dev_find()
513 .foreign_dev_check_cb = foreign_dev_check_cb, in switchdev_lower_dev_find()
530 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_fdb_event_to_device()
557 foreign_dev_check_cb)) in __switchdev_handle_fdb_event_to_device()
562 foreign_dev_check_cb, in __switchdev_handle_fdb_event_to_device()
575 switchdev = switchdev_lower_dev_find_rcu(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_fdb_event_to_device()
579 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_fdb_event_to_device()
583 check_cb, foreign_dev_check_cb, in __switchdev_handle_fdb_event_to_device()
590 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_fdb_event_to_device()
599 check_cb, foreign_dev_check_cb, in switchdev_handle_fdb_event_to_device()
611 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_add()
647 if (foreign_dev_check_cb && !check_cb(lower_dev) && in __switchdev_handle_port_obj_add()
648 !switchdev_lower_dev_find(lower_dev, check_cb, foreign_dev_check_cb)) in __switchdev_handle_port_obj_add()
652 check_cb, foreign_dev_check_cb, in __switchdev_handle_port_obj_add()
661 if (!foreign_dev_check_cb) in __switchdev_handle_port_obj_add()
668 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_add()
672 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_port_obj_add()
676 foreign_dev_check_cb, add_cb); in __switchdev_handle_port_obj_add()
707 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_add_foreign()
716 foreign_dev_check_cb, add_cb); in switchdev_handle_port_obj_add_foreign()
726 bool (*foreign_dev_check_cb)(const struct net_device *dev, in __switchdev_handle_port_obj_del()
758 if (foreign_dev_check_cb && !check_cb(lower_dev) && in __switchdev_handle_port_obj_del()
759 !switchdev_lower_dev_find(lower_dev, check_cb, foreign_dev_check_cb)) in __switchdev_handle_port_obj_del()
763 check_cb, foreign_dev_check_cb, in __switchdev_handle_port_obj_del()
772 if (!foreign_dev_check_cb) in __switchdev_handle_port_obj_del()
779 switchdev = switchdev_lower_dev_find(br, check_cb, foreign_dev_check_cb); in __switchdev_handle_port_obj_del()
783 if (!foreign_dev_check_cb(switchdev, dev)) in __switchdev_handle_port_obj_del()
787 foreign_dev_check_cb, del_cb); in __switchdev_handle_port_obj_del()
817 bool (*foreign_dev_check_cb)(const struct net_device *dev, in switchdev_handle_port_obj_del_foreign()
825 foreign_dev_check_cb, del_cb); in switchdev_handle_port_obj_del_foreign()