Lines Matching refs:brdev
753 struct net_device *brdev = br2dev_event_work->br_dev; in qeth_l2_br2dev_worker() local
767 brdev != netdev_master_upper_dev_get_rcu(lsyncdev)) in qeth_l2_br2dev_worker()
774 iter = &brdev->adj_list.lower; in qeth_l2_br2dev_worker()
775 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
795 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_br2dev_worker()
814 dev_put(brdev); in qeth_l2_br2dev_worker()
820 static int qeth_l2_br2dev_queue_work(struct net_device *brdev, in qeth_l2_br2dev_queue_work() argument
833 worker_data->br_dev = brdev; in qeth_l2_br2dev_queue_work()
841 dev_hold(brdev); in qeth_l2_br2dev_queue_work()
852 struct net_device *dstdev, *brdev, *lowerdev; in qeth_l2_switchdev_event() local
864 brdev = netdev_master_upper_dev_get_rcu(dstdev); in qeth_l2_switchdev_event()
865 if (!brdev || !netif_is_bridge_master(brdev)) in qeth_l2_switchdev_event()
870 iter = &brdev->adj_list.lower; in qeth_l2_switchdev_event()
871 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_switchdev_event()
876 rc = qeth_l2_br2dev_queue_work(brdev, lowerdev, in qeth_l2_switchdev_event()
884 lowerdev = netdev_next_lower_dev_rcu(brdev, &iter); in qeth_l2_switchdev_event()